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

Joined: 21 Apr 2004 Posts: 237 Location: Echirolles, France
|
Posted: Thu Mar 03, 2005 2:29 pm Post subject: sem_close |
|
|
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:
- If sem_unlink has not been called after sem_open for this semaphore, the function has no effect on the semaphore.
- If sem_unlink as been called, the semaphore is no longer accessible after the last process which opened it calls sem_close.
- The function returns 0 on success and -1 otherwise.
_________________ Sebastien Decugis. |
|
| Back to top |
|
 |
tHeDoc Project Maintener

Joined: 21 Apr 2004 Posts: 237 Location: Echirolles, France
|
Posted: Thu Mar 03, 2005 3:00 pm Post subject: |
|
|
Conformance Status
- Assertion 1 is not tested yet. A new testcase will be written.
- Assertion 2 is not tested yet. There is no way to access the semaphore once latest sem_close has been opened, so this can not be tested (any call to sem_open refer to a new semaphore after sem_unlink has been called).
- Assertion 3 is already tested.
_________________ Sebastien Decugis.
Last edited by tHeDoc on Mon Mar 07, 2005 3:04 pm; edited 1 time in total |
|
| Back to top |
|
 |
tHeDoc Project Maintener

Joined: 21 Apr 2004 Posts: 237 Location: Echirolles, France
|
Posted: Thu Mar 03, 2005 3:03 pm Post subject: Scalability Status |
|
|
Scalability Status
Scalability for this routine has already been tested in sem_init() testcases. _________________ Sebastien Decugis. |
|
| Back to top |
|
 |
tHeDoc Project Maintener

Joined: 21 Apr 2004 Posts: 237 Location: Echirolles, France
|
Posted: Thu Mar 03, 2005 3:03 pm Post subject: Stress Status |
|
|
Stress Status
No stress test is needed for this routine. _________________ Sebastien Decugis. |
|
| Back to top |
|
 |
tHeDoc Project Maintener

Joined: 21 Apr 2004 Posts: 237 Location: Echirolles, France
|
Posted: Mon Mar 07, 2005 3:06 pm Post subject: Conformance Test |
|
|
Conformance Test
The following test case has been added to OPTS:
_________________ Sebastien Decugis. |
|
| Back to top |
|
 |
|