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

Joined: 21 Apr 2004 Posts: 237 Location: Echirolles, France
|
Posted: Tue Feb 15, 2005 10:37 am Post subject: pthread_cancel |
|
|
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:
- The pthread_cancel() function requests that thread be canceled. The cancelation takes effect according to the thread's cancelability state and type.
- When cancelation starts, the cancelation cleanups are called, ...
- ... then the TSD destructors, ...
- ... then the thread is terminated.
- The cancelation is not synchronized with the pthread_cancel execution.
- pthread_cancel returns 0 when success.
- pthread_cancel does not return EINTR.
_________________ Sebastien Decugis. |
|
| Back to top |
|
 |
tHeDoc Project Maintener

Joined: 21 Apr 2004 Posts: 237 Location: Echirolles, France
|
Posted: Tue Feb 15, 2005 11:50 am Post subject: Conformance Status |
|
|
Conformance Status
- Assertion 1 is already tested in OPTS and does not need more testing.
- Assertion 2 is already tested in OPTS and does not need more testing.
- Assertion 3 is already tested in OPTS and does not need more testing.
- Assertion 4 is already tested in OPTS and does not need more testing.
- Assertion 5 is already tested in OPTS and does not need more testing.
- Assertion 6 is already tested in OPTS and does not need more testing.
- Assertion 7 is not tested yet. A new testcase will be written.
_________________ Sebastien Decugis. |
|
| Back to top |
|
 |
tHeDoc Project Maintener

Joined: 21 Apr 2004 Posts: 237 Location: Echirolles, France
|
Posted: Tue Feb 15, 2005 1:41 pm Post subject: Scalability Status |
|
|
Scalability Status
There is no need for a scalability test in this routine. _________________ Sebastien Decugis. |
|
| Back to top |
|
 |
tHeDoc Project Maintener

Joined: 21 Apr 2004 Posts: 237 Location: Echirolles, France
|
Posted: Tue Feb 15, 2005 1:51 pm Post subject: Stress Status |
|
|
Stress Status
A stress test will be written to check that cancelation does not break the system, and also that there is no race condition with thread termination (when canceling a dying thread). _________________ Sebastien Decugis. |
|
| Back to top |
|
 |
tHeDoc Project Maintener

Joined: 21 Apr 2004 Posts: 237 Location: Echirolles, France
|
Posted: Wed Feb 23, 2005 4:40 pm Post subject: Conformance Tests |
|
|
Conformance Tests
The following testcase has been added to the OPTS.
_________________ Sebastien Decugis. |
|
| Back to top |
|
 |
tHeDoc Project Maintener

Joined: 21 Apr 2004 Posts: 237 Location: Echirolles, France
|
Posted: Wed Feb 23, 2005 4:40 pm Post subject: Stress Tests |
|
|
Stress Test
A new stress test has been written for this function, and can be found here:
_________________ Sebastien Decugis. |
|
| Back to top |
|
 |
|