View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001782 | 1003.1(2016/18)/Issue7+TC2 | Rationale | public | 2023-10-17 11:30 | 2024-06-11 09:07 |
| Reporter | dannyniu | Assigned To | |||
| Priority | normal | Severity | Objection | Type | Enhancement Request |
| Status | Closed | Resolution | Accepted As Marked | ||
| Name | DannyNiu/NJF | ||||
| Organization | <individual> | ||||
| User Reference | c181.pdf | ||||
| Section | B.2.8 Realtime >> Rationale Relating to Timeouts | ||||
| Page Number | 3628 | ||||
| Line Number | 123791 | ||||
| Interp Status | --- | ||||
| Final Accepted Text | 0001782:0006564 | ||||
| Summary | 0001782: Standardize "pthread_yield"? Or change the example code? | ||||
| Description | In the example code at page 3628, the example used the `pthread_yield()` function. This function is a common-place extension in most Pthread implementations, however, it was not included in the normative text of the current standard. Instead, `sched_yield()` is specified and included in the base. C11 has the `thrd_yield()` function, which is part of the "threads.h" header. | ||||
| Desired Action | Standardize `pthread_yield()` (as C11 has standardized `thrd_yield()`) OR replace the call in the code example with `sched_yield()` OR some other more preferrable solution? | ||||
| Tags | applied_after_i8d3, tc3-2008 | ||||
|
|
Change:to:pthread_yield(); sched_yield(); The editor may also change the brace indentation to match other parts of the standard. (lines 123780-123794 and lines 123804-123847). |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2023-10-17 11:30 | dannyniu | New Issue | |
| 2023-10-17 11:30 | dannyniu | Name | => DannyNiu/NJF |
| 2023-10-17 11:30 | dannyniu | Organization | => <individual> |
| 2023-10-17 11:30 | dannyniu | User Reference | => c181.pdf |
| 2023-10-17 11:30 | dannyniu | Section | => B.2.8 Realtime >> Rationale Relating to Timeouts |
| 2023-10-17 11:30 | dannyniu | Page Number | => 3628 |
| 2023-10-17 11:30 | dannyniu | Line Number | => 123791 |
| 2023-11-02 15:31 | geoffclare | Note Added: 0006564 | |
| 2023-11-02 15:32 | geoffclare | Interp Status | => --- |
| 2023-11-02 15:32 | geoffclare | Final Accepted Text | => 0000745:0001782 |
| 2023-11-02 15:32 | geoffclare | Status | New => Resolved |
| 2023-11-02 15:32 | geoffclare | Resolution | Open => Accepted As Marked |
| 2023-11-02 15:32 | geoffclare | Final Accepted Text | 0000745:0001782 => 0001782:0006564 |
| 2023-11-02 15:33 | geoffclare | Tag Attached: tc3-2008 | |
| 2023-11-14 10:44 | geoffclare | Status | Resolved => Applied |
| 2023-11-14 10:44 | geoffclare | Tag Attached: applied_after_i8d3 | |
| 2024-06-11 09:07 | agadmin | Status | Applied => Closed |