summaryrefslogtreecommitdiff
path: root/lib/librthread/rthread_sem.c
AgeCommit message (Expand)Author
2013-12-11revert to return EPERM for sem_init pshared until it really worksTed Unangst
2013-12-08Reduce the random name length when sem_init is called with psharedFederico G. Schwindt
2013-11-26Remove unused var and include. Fix errno values as per spec.Federico G. Schwindt
2013-11-22don't use PAGE_SIZE, it is not portable. Ted can polish this afterTheo de Raadt
2013-11-21handle the fourth vararg value to sem_openTed Unangst
2013-11-20shared semaphore fixes. first, eliminate the sem inside a sem indirection.Ted Unangst
2013-11-20oops, forgot about unnamed shared semsTed Unangst
2013-11-20zhuk and i have slightly different styles. unify and consistifyTed Unangst
2013-11-18interprocess semaphores ala sem_open. mostly following in the patternTed Unangst
2013-06-01something's not quite right yet. ticket locks result in more CPU usageTed Unangst
2013-06-01cleanup and consolidate the spinlock_lock (what a name!) code.Ted Unangst
2012-03-03sem_timedwait() should return ETIMEDOUT instead of EWOULDBLOCK on timeoutPhilip Guenthe
2012-03-03Add sem_timewait() and fix sem_wait()'s handling of signals, soPhilip Guenthe
2012-03-02_SPINLOCK_UNLOCKED isn't zero everywhere (*cough*hppa*cough*), soPhilip Guenthe
2012-01-17Reimplement mutexes, condvars, and rwlocks to eliminate bugs,Philip Guenthe
2012-01-04Fix $OpenBSD tagPhilip Guenthe
2012-01-04Add some sanity checks, set errno accordingly to POSIX and add the namedMartin Pieuchot
2012-01-04Split out the semaphore functions.Martin Pieuchot