A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=1731 ====================================================================== Reported By: geoffclare Assigned To: ====================================================================== Project: 1003.1(2016/18)/Issue7+TC2 Issue ID: 1731 Category: System Interfaces Type: Clarification Requested Severity: Objection Priority: normal Status: New Name: Geoff Clare Organization: The Open Group User Reference: Section: pthread_sigmask() Page Number: 1734 Line Number: 56243 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2023-05-23 09:43 UTC Last Modified: 2023-06-13 09:47 UTC ====================================================================== Summary: pthread_sigmask() pending signal requirement time paradox ======================================================================
---------------------------------------------------------------------- (0006327) geoffclare (manager) - 2023-06-13 09:47 https://austingroupbugs.net/view.php?id=1731#c6327 ---------------------------------------------------------------------- New suggested resolution ... After applying bug 1636, change:<blockquote>If there are any pending unblocked signals after the call to <i>pthread_sigmask</i>(), at least one of those signals shall be delivered before the call to <i>pthread_sigmask</i>() returns.</blockquote>to:<blockquote>If the argument <i>set</i> is not a null pointer, after <i>pthread_sigmask</i>() changes the currently blocked set of signals it shall determine whether there are any pending unblocked signals; if there are any, then at least one of those signals shall be delivered before the call to <i>pthread_sigmask</i>() returns.</blockquote> On page 1736 line 56316 section pthread_sigmask(), change APPLICATION USAGE from:<blockquote>None.</blockquote>to:<blockquote>Although <i>pthread_sigmask</i>() has to deliver at least one of any pending unblocked signals that exist after it has changed the currently blocked set of signals, there is no requirement that the delivered signal(s) include any that were unblocked by the change. If one or more signals that were already unblocked become pending (see [xref to 2.4.1]) during the period the pthread_setmask() call is executing, the signal(s) delivered before the call returns might include only those signals.</blockquote> Issue History Date Modified Username Field Change ====================================================================== 2023-05-23 09:43 geoffclare New Issue 2023-05-23 09:43 geoffclare Name => Geoff Clare 2023-05-23 09:43 geoffclare Organization => The Open Group 2023-05-23 09:43 geoffclare Section => pthread_sigmask() 2023-05-23 09:43 geoffclare Page Number => 1734 2023-05-23 09:43 geoffclare Line Number => 56243 2023-05-23 09:43 geoffclare Interp Status => --- 2023-05-23 21:08 kre Note Added: 0006287 2023-05-25 08:40 geoffclare Note Added: 0006288 2023-05-25 18:26 kre Note Added: 0006292 2023-05-25 18:32 kre Note Edited: 0006292 2023-05-25 18:44 kre Note Added: 0006293 2023-05-30 11:14 geoffclare Note Added: 0006294 2023-05-31 19:50 kre Note Added: 0006296 2023-06-06 15:50 geoffclare Note Added: 0006312 2023-06-06 19:24 kre Note Added: 0006313 2023-06-07 09:44 geoffclare Note Added: 0006314 2023-06-09 11:24 kre Note Added: 0006316 2023-06-12 08:55 geoffclare Note Added: 0006319 2023-06-12 09:08 geoffclare Note Edited: 0006319 2023-06-12 13:08 kre Note Added: 0006320 2023-06-12 13:13 kre Note Edited: 0006320 2023-06-12 14:38 geoffclare Note Edited: 0006319 2023-06-12 22:18 kre Note Added: 0006325 2023-06-12 22:21 kre Note Edited: 0006325 2023-06-13 09:09 dannyniu Issue Monitored: dannyniu 2023-06-13 09:29 geoffclare Note Added: 0006326 2023-06-13 09:47 geoffclare Note Added: 0006327 ======================================================================