CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2013/11/20 16:18:17

Modified files:
        lib/librthread : rthread.h rthread_sem.c 

Log message:
shared semaphore fixes. first, eliminate the sem inside a sem indirection.
it's not needed (mindless holdover from earlier prototype). everything is
simpler and sem_init shared semaphores even work now (confirmed by sthen).
correct the einval checks to not deref a pointer before the null check.
in sem_open, if we created the semaphore, we need to initialize the spinlock.

Reply via email to