[Top][All Lists]

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

pthreads library and clone() syscall on Linux

From: devnetfs
Subject: pthreads library and clone() syscall on Linux
Date: Thu, 9 Jan 2003 09:06:10 -0800 (PST)

[sent this mail originally to address@hidden". Looks that
 it not the right list. Hence posting it here. If this is also the 
 wrong place, please let me know where can I post this query -- thanks]


Are there any issues/problems if a program links with pthreads (i.e.
compiled with -lpthreads), but does NOT use any of the pthreads_XXX
functions and uses the clone() glibc function directly.

I am wondering whether the init routine of pthreads library (which will
get called irrespective of pthreads_XXX function being used or not)
does any setup/initialization that might cause the clone() syscall
used by the program to misbehave or fail?

Any inputs/insights will be really helpful.
Thanks a lot in advance,

ps: I am not subscribed to this list. Please Cc: me the reply.

Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]