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 

sigwait

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


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

PostPosted: Mon Feb 14, 2005 2:13 pm    Post subject: sigwait 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. sigwait selects a pending signal from set and clears this signal from the system.
  2. sigwait selects a pending signal from set and returns this signal in sig.
  3. If queued signals are supported, and multiple instance of the selected signal are pending, the first one is returned and others remain pending.
  4. If no signal from set is pending, the thread is blocked until a signal from set becomes pending.
  5. If several threads are blocked in a call to sigwait, only one is unblocked when the signal becomes pending.
  6. If several threads are waiting for a signal and this signal is generated for a specific thread, only this thread is unblocked.
  7. If RTS extension is supported, and several signals in the range SIGRTMIN-SIGRTMAX are selected, the lower numbered is returned first.
  8. sigwait returns 0 when sucess.

_________________
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 Feb 14, 2005 3:29 pm    Post subject: Conformance Status Reply with quote

Conformance Status

Here is the coverage status in the current OPTS version:

  • Assertion 1 is not tested yet. The 1-1.c testcase will be modified to check this assertion.
  • Assertion 2 is not tested yet. The 1-1.c testcase will be modified to check this assertion also.
  • Assertion 3 is tested in OPTS and does not need more testing.
  • Assertion 4 is not tested yet. Test 4-1.c will be fixed to check that time has elapsed before sigwait returns.
  • Assertion 5 is not tested yet. A new testcase will be written.
  • Assertion 6 is not tested yet. A new testcase will be written.
  • Assertion 7 is not tested yet. A new testcase will be written.
  • Assertion 8 is already tested.

_________________
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 Feb 14, 2005 3:32 pm    Post subject: Scalability & Stress Status Reply with quote

Scalability & Stress Status

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

A stress test for signals subsystem is out-of-scope for our project.

_________________
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 22, 2005 4:48 pm    Post subject: Conformance Status Reply with quote

Conformance Status

The following testcases have been patched:


The following testcases have been added:

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