[Bugme-janitors] [Bug 10596] read, readv, write and writev system calls are not atomic

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Thu May 22 00:20:39 PDT 2008


http://bugzilla.kernel.org/show_bug.cgi?id=10596





------- Comment #10 from mattilinnanvuori at yahoo.com  2008-05-22 00:20 -------
If we do a write or writev, I'm expecting that the non-atomicity might mean
that output by other threads may be interspersed with the output of our
writing. That is a possibility. You need to time the threads so that they run
simultaneously. 
At least two threads must read f_pos before the other one writes to it.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Bugme-janitors mailing list