|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2250 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 2250.
Report 2250 Actions
Problem Report Number 2250 Submitter's Classification Specification problem State Resolved Resolution Permanent Interpretation (PIN) Problem Resolution ID PIN.X.0256 Raised 2003-05-01 23:03 Updated 2003-05-03 01:21 Published 2003-05-03 01:21 Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSTH version 5.3.2 Test Identification PTHR.os/sched_rt/pthread_attr_setscope 1,
PTHR.os/sched_rt/pthread_attr_getscope 1Specification System Interfaces and Headers Issue 5 Location in Spec pthread_attr_getscope Linked Problem Reports 2128 Problem Summary The implementation under test only supports PTHREAD_SCOPE_SYSTEM for
privileged users.Problem Text The test failure for which TSD5TH.00090 was issued against VSTH5.2.3
still occurs with VSTH5.3.2. A new interpretation is needed to cover
this failure. In addition, PTHR.os/sched_rt/pthread_attr_getscope
test 1 produces an Unresolved result for the same reason.
It uses the routine pthread_attr_init, which tries to set the scope
to both PTHREAD_SCOPE_PROCESS and PTHREAD_SCOPE_SYSTEM. When
PTHREAD_SCOPE_SYSTEM fails with EACCESS, it reports that the test
is Unresolved.
Although a TSD was previously issued for VSTH5.2.3, it would seem to
be more appropriate to issue a PIN to cover these failures, because
the cause of the failures is an additional error condition that is
not required by the specification, but is allowed under the general
rules for error conditions.Test Output PTHR.os/sched_rt/pthread_attr_setscope 1:
520|186 1 000104409 1 1|If the feature test macro
520|186 1 000104409 1 2|_POSIX_THREAD_PRIORITY_SCHEDULING is defined:
520|186 1 000104409 1 3|a call to pthread_attr_setscope(attr,
contentionscope)
520|186 1 000104409 1 4|sets the value of the scope attribute of the
attributes
520|186 1 000104409 1 5|object specified by attr to contentionscope
520|186 1 000104409 1 6|and returns 0 on success.
520|186 1 000104409 1 7|Posix Ref: Component PTHREAD_ATTR_SETSCOPE
520|186 1 000104409 1 8|Assertion 9945-1:1996 13.5.1.2-1(C)
520|186 1 000104409 1 9|pthread_attr_getscope unexpectedly failed, rval == 1
220|186 1 1 13:35:42|FAIL
PTHR.os/sched_rt/pthread_attr_getscope 1:
520|183 1 00056146 1 1|If _POSIX_THREAD_PRIORITY_SCHEDULING is defined:
520|183 1 00056146 1 2|a call to pthread_attr_getscope(attr, scope)
520|183 1 00056146 1 3|stores the value of the scope attribute of the
attribute
520|183 1 00056146 1 4|object specified by attr in scope and returns 0
520|183 1 00056146 1 5|if successful.
520|183 1 00056146 1 6|Posix Ref: Component PTHREAD_ATTR_GETSCOPE
520|183 1 00056146 1 7|Assertion 9945-1:1996 13.5.1.2, 9945-1:1996
13.5.1.3-1(C)
520|183 1 00056146 1 8|pthread_attr_init, expected 0, got 1
220|183 1 2 17:06:00|UNRESOLVEDReview Information
Review Type SA Review Start Date 2003-05-01 23:03 Last Updated 2003-05-03 00:53 Completed 2003-05-03 00:53 Status Complete Review Resolution Permanent Interpretation (PIN) Review Conclusion The SA agrees that this PR should be resolved as a PIN.
Review Type Expert Group Review Start Date 2003-05-03 00:19 Last Updated 2003-05-03 01:20 Completed 2003-05-03 01:20 Status Complete Review Resolution Permanent Interpretation (PIN) Review Conclusion The SA erroneously set the result to "No recommendation" which
triggered the expert group review. A PIN is granted and the
expert group review terminated.
Problem Reporting System Options:
- View Report 2250
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority