Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
From: Philip Guenther (guenthergmail.com)
Date: Sat Dec 07 2013 - 14:12:36 CST
On Sat, Dec 7, 2013 at 10:35 AM, Ted Unangst <tedutedunangst.com> wrote:
> One of the hallmarks of the original libpthread was that all data
> structures were opaque, and hidden via pointers. That in turn made it
> possible to write a binary compatible librthread. I never would have
> started librthread if it hadn't been for that compatibility. So I
> don't like turning my back on it. Exposing the size of sem_t is a
> *major* step.
It may be time to actually make that jump. sem_t is actually an easy
one to do it with, as it doesn't have the ownership issues of mutexes
or spinlocks, or the lists of condvars or barriers. Those others will
require more structure changes and kernel help.