public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/6399] New: gettid() should have a wrapper
@ 2008-04-14 13:04 mtk dot manpages at gmail dot com
  2008-04-14 13:05 ` [Bug libc/6399] " mtk dot manpages at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 53+ messages in thread
From: mtk dot manpages at gmail dot com @ 2008-04-14 13:04 UTC (permalink / raw)
  To: glibc-bugs

Currently, glibc does not provide a wrapper for gettid().  Nevertheless, 
There are number of corners of the Linux syscall API where the use of Linux
thread IDs, as returned by gettid(), is essential:

a) the SIGEV_THREAD_ID notification mechanism (a Linux extension) of POSIX
timers (timer_create()). 

b) sched_setaffinity()/sched_getaffinity() can be used to set the CPU affinity
of specific threads.

c) The F_SETOWN and F_GETOWN commands of fcntl() can specify a thread ID.

Given this, it seems time that gettid() should be promoted to full member status
in glibc, and have a wrapper provided.

-- 
           Summary: gettid() should have a wrapper
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: mtk dot manpages at gmail dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=6399

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 53+ messages in thread

end of thread, other threads:[~2021-05-19 20:14 UTC | newest]

Thread overview: 53+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-6399-131@http.sourceware.org/bugzilla/>
2012-03-28 23:29 ` [Bug libc/6399] gettid() should have a wrapper mtk.manpages at gmail dot com
2012-07-07  6:37 ` mtk.manpages at gmail dot com
2012-07-12 12:48 ` wbrana at gmail dot com
2012-11-05 20:57 ` bugdal at aerifal dot cx
2013-02-03 22:21 ` mtk.manpages at gmail dot com
2013-02-03 22:55 ` bugdal at aerifal dot cx
2013-02-03 23:11 ` mtk.manpages at gmail dot com
2013-02-08 21:20 ` desrt at desrt dot ca
2013-02-08 23:26 ` mtk.manpages at gmail dot com
2013-02-09  0:01 ` bugdal at aerifal dot cx
2013-02-09  0:19 ` desrt at desrt dot ca
2013-02-09  0:40 ` bugdal at aerifal dot cx
2013-02-09  0:42 ` desrt at desrt dot ca
2013-02-09  2:06 ` mtk.manpages at gmail dot com
2013-02-09  2:39 ` bugdal at aerifal dot cx
2013-02-09  2:53 ` mtk.manpages at gmail dot com
2013-02-09  3:24 ` bugdal at aerifal dot cx
2013-02-09 23:05 ` mtk.manpages at gmail dot com
2013-02-28 15:18 ` gabriele.svelto at gmail dot com
2013-09-21  0:15 ` justin.lebar at gmail dot com
2013-10-09 19:32 ` neleai at seznam dot cz
2014-01-10 20:45 ` carlos at redhat dot com
2014-01-10 20:56 ` bugdal at aerifal dot cx
2014-01-10 23:52 ` mtk.manpages at gmail dot com
2014-01-11  0:17 ` nmiell at gmail dot com
2014-01-11  3:03 ` carlos at redhat dot com
2014-01-11  3:41 ` mtk.manpages at gmail dot com
2014-01-11  4:09 ` nmiell at gmail dot com
2014-01-11  7:30 ` justin.lebar at gmail dot com
2014-01-11  7:38 ` justin.lebar at gmail dot com
2014-01-11  7:41 ` nmiell at gmail dot com
2014-01-11  9:16 ` gabriele.svelto at gmail dot com
2014-01-11  9:43 ` nmiell at gmail dot com
2014-01-11 10:07 ` gabriele.svelto at gmail dot com
2014-01-11 15:17 ` bugdal at aerifal dot cx
2014-01-11 19:48 ` mtk.manpages at gmail dot com
2014-01-11 20:01 ` bugdal at aerifal dot cx
2014-01-12 17:05 ` carlos at redhat dot com
2014-02-16 17:47 ` jackie.rosen at hushmail dot com
2014-05-28 19:43 ` schwab at sourceware dot org
2014-06-13 14:57 ` fweimer at redhat dot com
2015-10-07  7:51 ` fweimer at redhat dot com
2015-10-07  8:02 ` fweimer at redhat dot com
2015-10-09 12:39 ` mtk.manpages at gmail dot com
2015-10-09 18:52 ` carlos at redhat dot com
2015-10-09 19:01 ` nmiell at gmail dot com
2015-10-09 19:16 ` mtk.manpages at gmail dot com
2015-10-09 19:42 ` bugdal at aerifal dot cx
2021-05-19 20:14 ` fweimer at redhat dot com
2008-04-14 13:04 [Bug libc/6399] New: " mtk dot manpages at gmail dot com
2008-04-14 13:05 ` [Bug libc/6399] " mtk dot manpages at gmail dot com
2008-04-14 14:04 ` drepper at redhat dot com
2008-04-14 14:46 ` mtk dot manpages at gmail dot com
2008-04-16 10:37 ` michael dot kerrisk at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).