tech-userlevel archive

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

Re: pthread library related



On Mon, May 30, 2016 at 10:33:33AM -0700, Charles Cui wrote:

> The second one is the reimplementation of bsd signal.

Do we really need this? Why is it a function pointer?

> The third one is the missing kernel logic for _SC_SEM_NSEMS_MAX.

Why not use atomic_inc/atomic_dec for the p_nsem count (and a proper
atomic-friendly type instead of uint)? Why limit the number at all?

Martin


Home | Main Index | Thread Index | Old Index