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

Bug#460110: closed by Aurelien Jarno <aurelien@aurel32.net> (Re: Bug#460110: libc6: gettid() documented but not implemented)



scott+dbug@pakin.org 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
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: