Anonymous | Login | 2024-04-25 17:44 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Type | Date Submitted | Last Update | ||
0000966 | [1003.1(2013)/Issue7+TC1] System Interfaces | Editorial | Error | 2015-06-29 13:19 | 2019-06-10 08:54 | ||
Reporter | gian | View Status | public | ||||
Assigned To | |||||||
Priority | normal | Resolution | Accepted As Marked | ||||
Status | Closed | ||||||
Name | Gian Ntzik | ||||||
Organization | Imperial College London | ||||||
User Reference | |||||||
Section | XSH 2.9.7 write,read | ||||||
Page Number | 1756, 2291 | ||||||
Line Number | 56485-56490, 72619-72620 | ||||||
Interp Status | --- | ||||||
Final Accepted Text | Note: 0002774 | ||||||
Summary | 0000966: Atomicity requirements for read/write ambiguity | ||||||
Description |
XSH 2.97 states that the read and write interfaces are required to be atomic when operating on regular files. The RATIONALE section of read states: "I/O is intended to be atomic to ordinary files and pipes and FIFOs. Atomic means that all the bytes from a single operation that started out together end up together, without interleaving from other I/O operations." The RATIONALE section of write states: "This volume of POSIX.1-2008 does not specify behavior of concurrent writes to a file from multiple processes. Applications should use some form of concurrency control." The later statement introduces ambiguity wrt to the others. If write is required to be atomic for regular files, then this volume of POSIX.1-2008 does specify behavior for concurrent writes: they are atomic. Perhaps the intention is to make a statement about absence of specification for non-regular files, or to allow atomicity to be confined only to threads of the same process. |
||||||
Desired Action |
Make descriptions of concurrent interactions of read/write interfaces with respect to regular files consistent. Explicitly state any allowed deviations from atomicity. |
||||||
Tags | tc2-2008 | ||||||
Attached Files | |||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2015-06-29 13:19 | gian | New Issue | |
2015-06-29 13:19 | gian | Name | => Gian Ntzik |
2015-06-29 13:19 | gian | Organization | => Imperial College London |
2015-06-29 13:19 | gian | Section | => XSH 2.9.7 write,read |
2015-07-15 19:16 | eblake | Interp Status | => --- |
2015-07-15 19:16 | eblake | Summary | Atomicity requirements for read/write ambigouity => Atomicity requirements for read/write ambiguity |
2015-07-16 19:54 | Don Cragun | Page Number | => 1756, 2291 |
2015-07-16 19:54 | Don Cragun | Line Number | => 56485-56490, 72619-72620 |
2015-07-16 19:54 | Don Cragun | Note Added: 0002766 | |
2015-07-23 16:28 | geoffclare | Note Added: 0002774 | |
2015-07-23 16:28 | geoffclare | Note Edited: 0002774 | |
2015-07-23 16:30 | geoffclare | Final Accepted Text | => Note: 0002774 |
2015-07-23 16:30 | geoffclare | Status | New => Resolved |
2015-07-23 16:30 | geoffclare | Resolution | Open => Accepted As Marked |
2015-07-23 16:30 | geoffclare | Tag Attached: tc2-2008 | |
2019-06-10 08:54 | agadmin | Status | Resolved => Closed |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |