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_mutex_destroy

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


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

PostPosted: Tue Aug 24, 2004 9:31 am    Post subject: pthread_mutex_destroy 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. pthread_mutex_init() can be used to re-initialize a destroyed mutex.
  2. It is safe to destroy an initialized unlocked mutex.
  3. The function must not return EINTR.


NOTE: there are three more assertions which cannot be tested without knowing the implementation details:
  • When the function succeeds, the mutex becomes uninitialized.
  • When the function succeeds, it must return 0.
  • When the function fails, is must return non-zero.

_________________
Sebastien Decugis.


Last edited by tHeDoc on Tue Aug 24, 2004 9:47 am; edited 1 time in total
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 Aug 24, 2004 9:35 am    Post subject: Conformance Status Reply with quote

Conformance Status


  • Assertion 1 is tested only with default attribute mutex. A new testcase will be written.
  • Assertion 2 is tested only with default attribute mutex. A new testcase will be written.
  • Assertion 3 is already tested in the pthread_mutex_init() tests and does not need an additional test.

_________________
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 Aug 24, 2004 9:38 am    Post subject: Scalability and Stress Reply with quote

Scalability and Stress status

Scalability has no meaning for this function.

Stress issues are already covered in the pthread_mutex_init routine tests.

_________________
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 Sep 21, 2004 9:30 am    Post subject: Conformance tests Reply with quote

Conformance tests

The following conformance tests have been added to the Open POSIX testsuite:

_________________
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 - Mutex 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