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 <1kvb4go.1mnph0k2u08ukM%manu%netbsd.org@localhost>,
Emmanuel Dreyfus <manu%netbsd.org@localhost> wrote:
>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?

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

christos



Home | Main Index | Thread Index | Old Index