if i set the highwatermark to 0 and each write is less PIPE_BUFF, can i say
that it must be atomic
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https://github.com/joyent/node/wiki/Mailing-List-Posting
They're completely unrelated. You're correct also in your assumption that
writes are not (guaranteed to be) atomic.
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https://github.com/joyent/node/wiki/Mai
According to POSIX specification, if you write less than the size of
PIPE_BUF, this operation shall be atomic.
The default writableStream.highwatermark in nodejs is 16 kilobyte.
writableStream.write will return false when the total size of the being
flushed data is greater this value.
Let sa