Semaphores in libc

Paulo J. Matos pocmatos@gmail.com
Tue Jan 5 10:11:00 GMT 2010


On Mon, Jan 4, 2010 at 5:57 PM, Mark Brown <bmark@us.ibm.com> wrote:
> All-
>
>> Petr Baudis <pasky@suse.cz>
>
>> mkdir() should be atomic, so each process will always pick a different
>> name.
>
>
> POSIX does not guarantee an atomic mkdir(). Section 2.9.7 of the System
> Interfaces volume of 1003.1-2008 will give you the list of
> "guaranteed-atomic" interfaces.
>
>

Thanks for clearing that out! :)


-- 
Paulo Jorge Matos - pocmatos at gmail.com
http://www.pmatos.net



More information about the Libc-help mailing list