[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Is it a bug of PTHREAD_MUTEX_ERRORCHECK_NP ?



__pthread_initialize_minimal is always called.  If you are using mutexes,
you must link with -lpthread and so should be getting the libpthread
definition rather than the libc definition.  This might be broken with
static linking because the reference is from inside libc.  Get a link map
(-M linker option, or -Wl,-M through gcc) to see where
__pthread_initialize_minimal is coming from.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]