On Mon, Apr 28, 2008 at 5:24 PM, Eduardo M KALINOWSKI <[EMAIL PROTECTED]> wrote: > Mathieu Malaterre wrote: > > Should I simply assumed that gettid should not be used and instead > > replaced it with pthread_self as this should be the default on all > > linux/debian system ? > > > > >From man gettid(2): > > NOTES > Glibc does not provide a wrapper for this system call; call it > using > syscall(2). > > The thread ID returned by this call is not the same thing as a > POSIX > thread ID (i.e., the opaque value returned by pthread_self(3)). > > > However, concerning if you *should* call it via syscall, I cannot help. >
WTF ? I am running an up to date debian stable system, where are those new man pages from ? Thanks, -- Mathieu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]