BTW, WinXP had a `SleepEx` interface that can function as a `sched_yield` before Windows eventually got condvars. Given that `sched_yield` and `thrd_yield`, `nanosleep` and `thrd_sleep` may be used for similar purposes, should they be considered as synchronization operations?
> 2024年2月20日 10:07,DannyNiu via austin-group-l at The Open Group > <austin-group-l@opengroup.org> 写道: > > I see. May I suggest a different editorial fix: > > Change line 3215-3216 > >> The following functions shall synchronize memory with respect to other >> threads on all successful calls > > To > >> The functions in the following list, as well as the ones discussed further >> down in the prose, shall synchronize memory with respect to other threads on >> all successful calls. > >> 2024年2月20日 03:58,Austin Group Bug Tracker via austin-group-l at The Open >> Group <austin-group-l@opengroup.org> 写道: >> >> >> The following issue has been CLOSED. >> ====================================================================== >> https://www.austingroupbugs.net/view.php?id=1814 >> ====================================================================== >> Reported By: dannyniu >> Assigned To: >> ====================================================================== >> Project: Issue 8 drafts >> Issue ID: 1814 >> Category: Base Definitions and Headers >> Type: Omission >> Severity: Editorial >> Priority: normal >> Status: Closed >> Name: DannyNiu/NJF >> Organization: <individual> >> User Reference: >> Section: XBD 4.15.2. MemorySynchronization >> Page Number: 104-105 >> Line Number: 3210-3626 >> Final Accepted Text: >> Resolution: Rejected >> Fixed in Version: >> ====================================================================== >> Date Submitted: 2024-02-17 09:07 UTC >> Last Modified: 2024-02-19 16:27 UTC >> ====================================================================== >> Summary: `pthread_{spin,rwlock}_*` missing from discussion >> ====================================================================== >> >> ---------------------------------------------------------------------- >> (0006666) Don Cragun (manager) - 2024-02-19 16:27 >> https://www.austingroupbugs.net/view.php?id=1814#c6666 >> ---------------------------------------------------------------------- >> The functions mentioned in this bug are already included in the table >> requiring synchronization. The paragraphs after the table place additional >> syncronization requirements on the functions discussed in those paragraphs. >> Therefore, this bug is rejected. >> >> Issue History >> Date Modified Username Field Change >> >> ====================================================================== >> 2024-02-17 09:07 dannyniu New Issue >> 2024-02-17 09:07 dannyniu Name => DannyNiu/NJF >> 2024-02-17 09:07 dannyniu Organization => <individual> >> 2024-02-17 09:07 dannyniu Section => XBD 4.15.2. >> MemorySynchronization >> 2024-02-17 09:07 dannyniu Page Number => 104-105 >> 2024-02-17 09:07 dannyniu Line Number => 3210-3626 >> 2024-02-19 10:30 geoffclare Note Added: 0006663 >> 2024-02-19 16:18 shware_systems Note Added: 0006665 >> 2024-02-19 16:22 shware_systems Note Edited: 0006665 >> 2024-02-19 16:25 shware_systems Note Edited: 0006665 >> 2024-02-19 16:27 Don Cragun Note Added: 0006666 >> 2024-02-19 16:27 Don Cragun Status New => Closed >> 2024-02-19 16:27 Don Cragun Resolution Open => Rejected >> ====================================================================== >> >> > >