- 论坛徽章:
- 0
|
摘了下来,大家一起讨论:
: Atomic/non-atomic: A write is atomic if the whole amount written in one
: operation is not interleaved with data from any other process. This is useful
: when there are multiple writers sending data to a single reader. Applications
: need to know how large
: write request can be expected to be performed atomically. This maximum is
: called {PIPE_BUF}. This volume of IEEE Std 1003.1-2001 does not say whether
: write requests for more than {PIPE_BUF} bytes are atomic, but requires that
: writes of {PIPE_BUF} or
: fewer bytes shall be atomic. |
|