The following issue has been SUBMITTED. 
====================================================================== 
http://austingroupbugs.net/view.php?id=1132 
====================================================================== 
Reported By:                yousong
Assigned To:                ajosey
====================================================================== 
Project:                    1003.1(2008)/Issue 7
Issue ID:                   1132
Category:                   System Interfaces
Type:                       Clarification Requested
Severity:                   Editorial
Priority:                   normal
Status:                     Under Review
Name:                       Yousong Zhou 
Organization:                
User Reference:              
Section:                    pthread_sigmask 
Page Number:                42 
Line Number:                42 
Interp Status:              --- 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2017-03-24 23:45 UTC
Last Modified:              2017-03-24 23:45 UTC
====================================================================== 
Summary:                    Whether the 'how' argument must be one of the three
defined value should be clarified
Description: 
The ERRORS section says it "shall fail if:

  [EINVAL]
  The value of the how argument is not equal to one of the defined values.

But earlier in the page in DESCRIPTION section, it also says

  If set is a null pointer, the value of the argument how is not
significant and the thread's signal mask shall be unchanged;

which is not clear whether 'how' is still required to be a defined value,
or any value will do.
Desired Action: 
Clarify in the document about acceptable values of the 'how' argument when
'set' is NULL.  Specifically, what is the expected return value of the
following function call

  pthread_sigmask(0, NULL, &oset);
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2017-03-24 23:45 yousong        New Issue                                    
2017-03-24 23:45 yousong        Status                   New => Under Review 
2017-03-24 23:45 yousong        Assigned To               => ajosey          
2017-03-24 23:45 yousong        Name                      => Yousong Zhou    
2017-03-24 23:45 yousong        Section                   => pthread_sigmask 
2017-03-24 23:45 yousong        Page Number               => 42              
2017-03-24 23:45 yousong        Line Number               => 42              
======================================================================


Reply via email to