Re: undefined reference to `gettid'
On Mon, Apr 28, 2008 at 5:24 PM, Eduardo M KALINOWSKI <firstname.lastname@example.org> 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):
> Glibc does not provide a wrapper for this system call; call it
> The thread ID returned by this call is not the same thing as a
> 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 ?