tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pthread_spin_init() documentation error
Hi
In NetBSD-6.0, pthread_spin(3) says that the pshared option defaults to
PTHREAD_PROCESS_SHARED.
Reading libpthread sources, it seems it default to
PTHREAD_PROCESS_PRIVATE, which is defined as 0.
I am reading it correctly? If I do, what should be fixed, the
documentation or the implementation?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index