This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Tuesday, June 29, 2010 08:10:36 Petr Baudis wrote: glibc already provides support for this exact scenario. many of the main libpthread functions are merely stubs in the C library that return appropriate success values when libpthread is not loaded. if an app does link against libpthread, then the real pthread functions are called transparently.
i.e. on glibc systems, you may always utilize pthread mutex functions in shared libraries without needing to link against libpthread yourself and things will "just work".
agreed. openssl's configure system is already a huge pile of crap with system-specific checks sprinkled all over. simply add one more for glibc compatible targets and use the native threading library.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |