thread concurrent file operation

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Tue Jan 29 11:53:52 EST 2013


On Tue, 29 Jan 2013 16:35:13 +0100, Karaoui mohamed lamine said:

> If multiple threads try to read/write at the same time, they could
> read/write at the same offset ?
>
> If my understanding are correct, is this POSIX compliant ?

You might want to ponder why the lockf() syscall exists at all.. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 865 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130129/a7646f57/attachment-0001.bin 


More information about the Kernelnewbies mailing list