[EMAIL PROTECTED] a écrit : > Aurelien, > > On Thu, 10 Jan 2008 19:12:04 +0000, you wrote: >>> The gettid() function is not implemented (as far as I can tell). The >>> functionality is present; directly invoking syscall() seems to work. >>> >>> "man gettid" documents gettid(2) so gettid() really ought to be present. >>> >> And it also says: >> >> NOTES >> Glibc does not provide a wrapper for this system call; call it >> using syscall(2). > > Not in Etch it doesn't. I had also checked an Ubuntu Gutsy Gibbon > system and didn't see it there, either. But yes, Sid does have the > text you quote above. > > So how come gettid() isn't implemented? >
gettid() is a Linux only syscall, that's why it isn't very used, and that's why nobody find it worth to implement it. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `- people.debian.org/~aurel32 | www.aurel32.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]