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 

sem_close

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


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

PostPosted: Thu Mar 03, 2005 2:29 pm    Post subject: sem_close 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. If sem_unlink has not been called after sem_open for this semaphore, the function has no effect on the semaphore.
  2. If sem_unlink as been called, the semaphore is no longer accessible after the last process which opened it calls sem_close.
  3. The function returns 0 on success and -1 otherwise.

_________________
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: Thu Mar 03, 2005 3:00 pm    Post subject: Reply with quote

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
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: Thu Mar 03, 2005 3:03 pm    Post subject: Scalability Status Reply with quote

Scalability Status

Scalability for this routine has already been tested in sem_init() testcases.

_________________
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: Thu Mar 03, 2005 3:03 pm    Post subject: Stress Status Reply with quote

Stress Status

No stress test is needed for 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: Mon Mar 07, 2005 3:06 pm    Post subject: Conformance Test Reply with quote

Conformance Test

The following test case has been added to OPTS:

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