Problem Report Number |
0045 |
Submitter's Classification |
Test Suite problem |
State |
Resolved |
Resolution |
Test Suite Deficiency (TSD) |
Problem Resolution ID |
TSD.PX.0020 |
Raised |
2007-04-02 22:10 |
Updated |
2007-04-13 19:35 |
Published |
2007-04-13 19:35 |
Product Standard |
PSE52 Realtime Controller 1003.1-2003 System |
Certification Program |
POSIX Certified by IEEE and The Open Group |
Test Suite |
VSRT-PSE version 5.3.7 |
Test Identification |
rt.os/timers/nanosleep/T.nanosleep.5 |
Problem Summary |
rt.os/timers/nanosleep test 5 fails with sem_init() returning EBUSY |
Problem Text |
The sem_init() in test5 fails with EBUSY because it uses the same
semaphore variable "semd" used in test4.
Test 4 does not destroy the semaphore, so our kernel detects that
the semaphore object is already initialised. |
Test Output |
************************************************************************
/tset/rt.os/timers/nanosleep/T.nanosleep 5 Failed
Test Description:
If _POSIX_TIMERS is defined or the implementation supports the
nanosleep() function as described in XSH5 and XSH6:
When a signal is delivered to the calling thread while it is
suspended due to a call to nanosleep() and its action is to
invoke a
signal-catching function or to terminate the process, the call
shall
return -1 and set errno to EINTR.
Test Information:
sem_init() failed, errno = 16 (EBUSY)
************************************************************************ |