This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6399] gettid() should have a wrapper
- From: "michael dot kerrisk at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 16 Apr 2008 10:36:39 -0000
- Subject: [Bug libc/6399] gettid() should have a wrapper
- References: <20080414130401.6399.mtk.manpages@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From michael dot kerrisk at gmail dot com 2008-04-16 10:36 -------
> Never. No program must ever assume that a thread runs on the same
> kernel thread all the time.
Looking at nptl/sysdeps/unix/sysv/linux/raise.c it certainly appears that any
program that is statically linked against glibc embeds this assumption (or it
contains a race).
--
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.