This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Semaphores in libc


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.


-------------------
Mark Brown/Austin/IBM




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]