tech-userlevel archive

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

Re: pthread_spin_init() documentation error

In article <>,
Emmanuel Dreyfus <> wrote:
>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?

The source says it is not used for anything and so does the man page
on current. It just does PTHREAD_PROCESS_SHARED.


Home | Main Index | Thread Index | Old Index