Hi,
When trying to build GCC4.1 with pthread support using eCos system
headers, I get a complaint that pthread_mutexattr_settype is nowhere
to be found. The workaround that I had was to create a
externC int pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type)
{
return 0;
}
function in ecos/packages/compat/posix/current/src/mutex.cxx . Since
there is no PTHREAD_MUTEX_ERRORCHECK, for example, defined, this
looked good enough.
Are there any plans to fresh up POSIX compat?
Regards,
Edgar
--
Edgar Grimberg
System Developer
Zylin AS
ZY1000 JTAG Debugger http://www.zylin.com/zy1000.html
Phone: (+47) 51 63 25 00
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss