|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2547 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 2547.
Report 2547 Actions
Problem Report Number 2547 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1315 Raised 2009-05-12 15:09 Updated 2009-05-12 21:28 Published 2009-05-12 21:28 Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03) Certification Program The Open Brand certification program Test Suite VSTH version 5.4.8 Test Identification /tset/PTHR.os/threadattr/pthread_attr_setdetachstate/T.pthread_attr_setdetachstate 3 Specification Base Definitions Issue 6 Location in Spec Assertion 9945-1:1996 16.2.1.2-3(A) Problem Summary The target thread may exit before the call to pthread_join, resulting in ESRCH instead of EINVAL
as expected by the test.Problem Text When the test creates a detached pthread using pthread_attr_setdetachstate(), the thread may
exit before the subsequent call to pthread_join, in which case a resulting errno of ESRCH is
correctly returned. The test assumes the detached thread has not exited and expects an errno
of EINVAL, however no synchronization is performed to enforce this assumption.Test Output ************************************************************************
/tset/PTHR.os/threadattr/pthread_attr_setdetachstate/T.pthread_attr_setdetachstate 3 Failed
Test Description:
When detachstate has the value PTHREAD_CREATE_DETACHED,
then a call to pthread_attr_setdetachstate(attr, detachstate)
shall cause all new threads created with the attributes object attr
to be in the detached state.
Posix Ref: Component PTHREAD_ATTR_SETDETACHSTATE Assertion 9945-1:1996
16.2.1.2-3(A)
Test Information:
pthread_join, expected 22, got 3
tet_fork, expected 0, got 2
************************************************************************Review Information
Review Type TSMA Review Start Date 2009-05-12 15:09 Last Updated 2009-05-12 18:08 Completed 2009-05-12 18:08 Status Complete Review Recommendation Test Suite Deficiency (TSD) Review Response This is accepted as a fault in the test suite.
Review Type SA Review Start Date 2009-05-12 17:08 Last Updated 2009-05-12 21:27 Completed 2009-05-12 21:27 Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion A test suite deficiency is granted.
Problem Reporting System Options:
- View Report 2547
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority