View Issue Details

IDProjectCategoryView StatusLast Update
00000771003.1(2008)/Issue 7System Interfacespublic2013-04-16 13:06
Reportergeoffclare Assigned Toajosey  
PrioritynormalSeverityObjectionTypeError
Status ClosedResolutionAccepted 
NameGeoff Clare
Organization
User Reference
Section2.4.1
Page Number485
Line Number16549
Interp StatusApproved
Final Accepted Text0000077:0000177
Summary0000077: stop and cont signals
Description_____________________________________________________________________________
 OBJECTION Enhancement Request Number 14
 gwc:xxxxxxxxxxxxx Defect in XSH 2.4.1 (rdvk# 4)
 [gwc stop and cont signals] Fri, 12 Dec 2008 15:17:48 +0000
 _____________________________________________________________________________

The penultimate paragraph of section 2.4.1 states:

     "When any stop signal (SIGSTOP, SIGTSTP, SIGTTIN, SIGTTOU) is
     generated for a process, any pending SIGCONT signals for that
     process shall be discarded. Conversely, when SIGCONT is generated
     for a process, all pending stop signals for that process shall be
     discarded. When SIGCONT is generated for a process that is
     stopped, the process shall be continued, even if the SIGCONT
     signal is blocked or ignored. If SIGCONT is blocked and not
     ignored, it shall remain pending until it is either unblocked or a
     stop signal is generated for the process."

 This text needs to be updated to take account of threads.

 The change below is based on the suggestion made by Philip Guenther
 in austin-group-l 11587.
Desired ActionReplace the paragraph with:

     "When any stop signal (SIGSTOP, SIGTSTP, SIGTTIN, SIGTTOU) is
     generated for a process or thread, all pending SIGCONT signals
     for that process or any of the threads within that process shall
     be discarded. Conversely, when SIGCONT is generated for a process
     or thread, all pending stop signals for that process or any of
     the threads within that process shall be discarded. When SIGCONT
     is generated for a process that is stopped, the process shall be
     continued, even if the SIGCONT signal is ignored by the process
     or is blocked by all threads within the process and there are no
     threads in a call to a sigwait() function selecting SIGCONT.
     If SIGCONT is blocked by all threads within the process, there
     are no threads in a call to a sigwait() function selecting
     SIGCONT, and SIGCONT is not ignored by the process, the SIGCONT
     signal shall remain pending on the process until it is either
     unblocked by a thread or a thread calls a sigwait() function
     selecting SIGCONT, or a stop signal is generated for the process
     or any of the threads within the process."
Tagstc1-2008

Activities

msbrown

2009-06-29 02:40

manager   bugnote:0000132

The change above is based on the suggestion made by Philip Guenther
 in austin-group-l 11587.

ajosey

2009-08-06 15:40

manager   bugnote:0000177

Last edited: 2009-10-09 16:49

Interpretation response
------------------------
The standard states the requirements for the SIGSTOP and SIGCONT signals,
and conforming implementations must conform to this. However, concerns
have been raised about this which are being referred to the sponsor."

Rationale:
-------------
None.

Notes to the Editor (not part of this interpretation):
-------------------------------------------------------
Make the change suggested by the submitter

Issue History

Date Modified Username Field Change
2009-06-29 02:39 msbrown New Issue
2009-06-29 02:39 msbrown Status New => Under Review
2009-06-29 02:39 msbrown Assigned To => ajosey
2009-06-29 02:39 msbrown Name => Mark Brown
2009-06-29 02:39 msbrown Organization => IBM
2009-06-29 02:39 msbrown Section => 2.4.1
2009-06-29 02:39 msbrown Page Number => 485
2009-06-29 02:39 msbrown Line Number => 16549
2009-06-29 02:40 msbrown Note Added: 0000132
2009-06-29 02:40 msbrown Status Under Review => Resolved
2009-06-29 02:40 msbrown Resolution Open => Accepted
2009-07-01 14:05 msbrown Name Mark Brown => Geoff Clare
2009-07-01 14:05 msbrown Organization IBM =>
2009-07-01 14:05 msbrown Reporter msbrown => geoffclare
2009-08-06 15:40 ajosey Note Added: 0000177
2009-08-06 15:40 ajosey Status Resolved => Interpretation Required
2009-08-11 16:32 Don Cragun Interp Status => Pending
2009-09-17 15:41 nick Interp Status Pending => Proposed
2009-10-09 16:49 ajosey Note Edited: 0000177
2009-10-09 16:50 ajosey Interp Status Proposed => Approved
2009-10-09 16:50 ajosey Final Accepted Text => 0000077:0000132
2009-10-09 16:51 ajosey Final Accepted Text 0000077:0000132 => 0000077:0000177
2010-09-20 09:18 geoffclare Tag Attached: tc1-2008
2013-04-16 13:06 ajosey Status Interpretation Required => Closed