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: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 07 Oct 2015 08:02:30 +0000
- Subject: [Bug libc/6399] gettid() should have a wrapper
- Auto-submitted: auto-generated
- References: <bug-6399-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=6399
--- Comment #40 from Florian Weimer <fweimer at redhat dot com> ---
We are committed to a 1:1 threading model because userspace code manipulates
task attributes such as CPU affinity or capabilities, and all kinds of things
will break if we start switching userspace threads to different (still
userspace, obviously) kernel tasks. (Restoring all those attributes on context
switch is not possible for performance reasons.)
This means that Ulrich's objection to adding gettid is no longer valid.
--
You are receiving this mail because:
You are on the CC list for the bug.