Bug 125645
Summary: | pthread_create does not implement the specified defaults | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bob Cook <bobcook47> |
Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2 | CC: | charles.simmons, drepper, roland |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-06-17 18:04:12 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Bob Cook
2004-06-09 16:52:28 UTC
The man page describes linuxthreads, not NPTL (linuxthreads is the default pthread library you link against and use its headers, while at runtime you by default use NPTL). NPTL defaults to PTHREAD_INHERIT_SCHED. I looked through the standard and I believe the default is implementation-defined, but am not 100% sure about this. There is no default value demanded by the standard. Inheriting the value is faster in the implementation. Programs which wish to not use the parent thread's value can very easily call pthread_setinheritsched. This is still a bug. The man page states that the default is not to inherit attributes. If you don't make the implementation and the man page agree, then you will continue to get bug reports. Thanks for wasting my time by not paying attention to perfectly valid bug reports. |