tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pthread_spin_init() documentation error


In NetBSD-6.0, pthread_spin(3) says that the pshared option defaults to

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

Home | Main Index | Thread Index | Old Index