[uClibc]pthread implementation broken with _D_GNU_SOURCE
Ronald Wahl
rwa at peppercon.com
Thu Jun 27 14:14:28 UTC 2002
Hallo,
I just noticed that some routines like pthread_mutex_lock fail if the
calling program was compiled with -D_GNU_SOURCE. The reason is that
these functions do not check all types of mutexes - in my case
PTHREAD_MUTEX_TIMED_NP (the standard mutex type) falls through the
switch statement and so pthread_mutex_lock returns EINVAL. Maybe
the pthread library should be synced with a newer one (these include
the missing code). I hope this can be fixed soon.
thanks,
ron
--
\\ Dipl.-Inf. Ronald Wahl | Peppercon AG //
\\\ rwa at peppercon.com ||| http://www.peppercon.com/ ///
\OO ----------------------- OOO ------------------------- OO/
OO GnuPG/PGP key available OOO Keep Systems running OO
More information about the uClibc
mailing list