Re: [suse-programming-e] linux Threads vs. NPTL
3 Mar
2005
3 Mar
'05
23:10
--- Jerry Feldman <gaf@blu.org> wrote:
Is there any definitive way that a threaded app can detect which thread library it is using, the older Linux Threads or the newer Native POSIX Thread Library. I have found a few functions, such as pthread_tryjoin_np(), that exist only in NPTL, but that will prevent a program from linking with the Linux Threads library.
Why do not you just use #ifdefs and specify what library to use as a build parameter? Dmitry
-- Jerry Feldman <gaf@blu.org>
7229
Age (days ago)
7229
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dimych