nptl.BullOpenSource.Org Forum Index nptl.BullOpenSource.Org
NPTL Tests & Trace project. Homepage.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

pthread_cancel

 
Post new topic   Reply to topic    nptl.BullOpenSource.Org Forum Index -> Tests - Initialization and cancelation related functions
View previous topic :: View next topic  
Author Message
tHeDoc
Project Maintener


Joined: 21 Apr 2004
Posts: 237
Location: Echirolles, France

PostPosted: Tue Feb 15, 2005 10:37 am    Post subject: pthread_cancel Reply with quote

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:

  1. The pthread_cancel() function requests that thread be canceled. The cancelation takes effect according to the thread's cancelability state and type.
  2. When cancelation starts, the cancelation cleanups are called, ...
  3. ... then the TSD destructors, ...
  4. ... then the thread is terminated.
  5. The cancelation is not synchronized with the pthread_cancel execution.
  6. pthread_cancel returns 0 when success.
  7. pthread_cancel does not return EINTR.

_________________
Sebastien Decugis.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
tHeDoc
Project Maintener


Joined: 21 Apr 2004
Posts: 237
Location: Echirolles, France

PostPosted: Tue Feb 15, 2005 11:50 am    Post subject: Conformance Status Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
tHeDoc
Project Maintener


Joined: 21 Apr 2004
Posts: 237
Location: Echirolles, France

PostPosted: Tue Feb 15, 2005 1:41 pm    Post subject: Scalability Status Reply with quote

Scalability Status

There is no need for a scalability test in this routine.

_________________
Sebastien Decugis.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
tHeDoc
Project Maintener


Joined: 21 Apr 2004
Posts: 237
Location: Echirolles, France

PostPosted: Tue Feb 15, 2005 1:51 pm    Post subject: Stress Status Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
tHeDoc
Project Maintener


Joined: 21 Apr 2004
Posts: 237
Location: Echirolles, France

PostPosted: Wed Feb 23, 2005 4:40 pm    Post subject: Conformance Tests Reply with quote

Conformance Tests

The following testcase has been added to the OPTS.

_________________
Sebastien Decugis.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
tHeDoc
Project Maintener


Joined: 21 Apr 2004
Posts: 237
Location: Echirolles, France

PostPosted: Wed Feb 23, 2005 4:40 pm    Post subject: Stress Tests Reply with quote

Stress Test

A new stress test has been written for this function, and can be found here:

_________________
Sebastien Decugis.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    nptl.BullOpenSource.Org Forum Index -> Tests - Initialization and cancelation related functions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group