Bug 82027
Summary: | Cannot create and delete threads indefinitely | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Jacques ANTHOINE <janthoine> |
Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | CC: | fweimer |
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: | 2003-01-20 18:00:09 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
Jacques ANTHOINE
2003-01-16 15:02:20 UTC
Well, by default threads are created in PTHREAD_CREATE_JOINABLE detachstate, which means unless you pthread_join on them, their resources aren't freed. See man pthread_attr_setdetachstate(3), pthread_detach(3), pthread_join(3). Thanks a lot for your help. Now, all is OK. Best regards, |