On Sat, Dec 7, 2013 at 10:35 AM, Ted Unangst <[email protected]> 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.


Philip Guenther

Reply via email to