sem_init.3 and shared semaphores

Matthieu Michaud matthieu at epita.info
Tue Sep 11 11:27:22 UTC 2007


hello,

sem_init.3 states :

"A non-zero value for pshared specifies a shared semaphore that can  
be used by multiple processes, which this implementation is not  
capable of."

libc_r's one doesn't but as far as I understand pthread's one, it  
does. If i'm correct, can someone correct the man page to clarify the  
difference between these multiple implementations ? (i think a notice  
in pthreads(3) will also help)

thanks !

Matthieu



More information about the freebsd-doc mailing list