[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Is it a bug of PTHREAD_MUTEX_ERRORCHECK_NP ?
- From: Roland McGrath <roland redhat com>
- To: phil-list redhat com
- Subject: Re: Is it a bug of PTHREAD_MUTEX_ERRORCHECK_NP ?
- Date: Thu, 6 Mar 2003 22:42:51 -0800
__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]