Report 2109 Actions
Problem Report Number |
2109 |
Submitter's Classification |
Test Suite problem |
State |
Resolved |
Resolution |
Test Suite Deficiency (TSD) |
Problem Resolution ID |
TSD.X.1074 |
Raised |
1999-08-18 08:00 |
Updated |
2003-03-13 08:00 |
Published |
1999-08-25 08:00 |
Product Standard |
Multi-Purpose Realtime Operating System |
Certification Program |
The Open Brand certification program |
Test Suite |
VSTH version 5.1.3 |
Test Identification |
PTHR.os/all/pthread_cond_init n/a |
Problem Summary |
TSD5TH.00066 POSIX 9945-1:1996 11.4.1.2 states that if _POSIX_THREAD_PROCESS_SHARED is not defined, then pthread_condattr_getpshared() and pthread_condattr_setpshared() are not supported. In the IUT, _POSIX_THREAD... |
Problem Text |
POSIX 9945-1:1996 11.4.1.2 states that if _POSIX_THREAD_PROCESS_SHARED is not defined, then pthread_condattr_getpshared() and pthread_condattr_setpshared() are not supported.
In the IUT, _POSIX_THREAD_PROCESS_SHARED is not defined, but the test case tset/PTHR.os/all/pthread_cond_init/pthread_cond_init.c fails with following error messages:
Reference: POSIX Part 1, Application Program Interface (API) C Language
This appears to be an error in the test case. The standard does not require us to provide this function.
|
Test Output |
520|53 1 00006955 1 3|Undefined first referenced 520|53 1 00006955 1 4| symbol in file 520|53 1 00006955 1 5|pthread_condattr_setpshared pthread_cond_init.o 520|53 1 00006955 1 6|ld: T.pthread_cond_init: fatal error: Symbol referencing errors. No output written to T.pthread_cond_init
|
Review Information
Review Type |
TSMA Review |
Start Date |
null |
Completed |
null |
Status |
Complete |
Review Recommendation |
No Resolution Given |
Review Response |
On XSI-conformant systems, _POSIX_THREADS, _POSIX_THREAD_ATTR_STACKADDR, _POSIX_THREAD_ATTR_STACKSIZE and _POSIX_THREAD_PROCESS_SHARED are always defined. Hence these functions are required to be supported for UNIX 98.
If this request is against UNIX 98 mode, then it is recommended that this request be refused.
If for POSIX mode, then its agreed that this is a test suite deficiency and that some conditional code should be added in a future release.
|
Review Type |
SA Review |
Start Date |
null |
Completed |
null |
Status |
Complete |
Review Resolution |
No Resolution Given |
Review Conclusion |
It was clarfified by the customer that the testing was in POSIX mode.
|
Review Type |
SA Review |
Start Date |
null |
Completed |
null |
Status |
Complete |
Review Resolution |
Test Suite Deficiency (TSD) |
Review Conclusion |
This is an agreed Test Suite Deficiency. This applies to POSIX mode only. This applies to both VSTH5.1.3 and VSTH 5.1.4.
|
Problem Reporting System Options:
|