| View previous topic :: View next topic |
| Author |
Message |
tHeDoc Project Maintener

Joined: 21 Apr 2004 Posts: 237 Location: Echirolles, France
|
Posted: Mon Feb 14, 2005 2:13 pm Post subject: sigwait |
|
|
POSIX
POSIX is a registered trademark from the IEEE. The following assertions are derived from copyrighted material. Original text and copyright information can be found at http://www.opengroup.org.
Here is what POSIX requires for this function:
- sigwait selects a pending signal from set and clears this signal from the system.
- sigwait selects a pending signal from set and returns this signal in sig.
- If queued signals are supported, and multiple instance of the selected signal are pending, the first one is returned and others remain pending.
- If no signal from set is pending, the thread is blocked until a signal from set becomes pending.
- If several threads are blocked in a call to sigwait, only one is unblocked when the signal becomes pending.
- If several threads are waiting for a signal and this signal is generated for a specific thread, only this thread is unblocked.
- If RTS extension is supported, and several signals in the range SIGRTMIN-SIGRTMAX are selected, the lower numbered is returned first.
- sigwait returns 0 when sucess.
_________________ Sebastien Decugis. |
|
| Back to top |
|
 |
tHeDoc Project Maintener

Joined: 21 Apr 2004 Posts: 237 Location: Echirolles, France
|
Posted: Mon Feb 14, 2005 3:29 pm Post subject: Conformance Status |
|
|
Conformance Status
Here is the coverage status in the current OPTS version:
- Assertion 1 is not tested yet. The 1-1.c testcase will be modified to check this assertion.
- Assertion 2 is not tested yet. The 1-1.c testcase will be modified to check this assertion also.
- Assertion 3 is tested in OPTS and does not need more testing.
- Assertion 4 is not tested yet. Test 4-1.c will be fixed to check that time has elapsed before sigwait returns.
- Assertion 5 is not tested yet. A new testcase will be written.
- Assertion 6 is not tested yet. A new testcase will be written.
- Assertion 7 is not tested yet. A new testcase will be written.
- Assertion 8 is already tested.
_________________ Sebastien Decugis. |
|
| Back to top |
|
 |
tHeDoc Project Maintener

Joined: 21 Apr 2004 Posts: 237 Location: Echirolles, France
|
Posted: Mon Feb 14, 2005 3:32 pm Post subject: Scalability & Stress Status |
|
|
Scalability & Stress Status
There is no need for a scalability test for this routine.
A stress test for signals subsystem is out-of-scope for our project. _________________ Sebastien Decugis. |
|
| Back to top |
|
 |
tHeDoc Project Maintener

Joined: 21 Apr 2004 Posts: 237 Location: Echirolles, France
|
Posted: Tue Feb 22, 2005 4:48 pm Post subject: Conformance Status |
|
|
Conformance Status
The following testcases have been patched:
The following testcases have been added:
_________________ Sebastien Decugis. |
|
| Back to top |
|
 |
|