Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move mutex, condvar, and thread-specific data routes, pthread_once, and | 2017-09-05 | 1 | -185/+0 | |
| | | | | | | | | pthread_exit from libpthread to libc, along with low-level bits to support them. Major bump to both libc and libpthread. Requested by libressl team. Ports testing by naddy@ ok kettenis@ | ||||
* | Get rid of ticket support, replace "struct _spinlock" with "_atomic_lock_t". | 2016-09-04 | 1 | -2/+2 | |
| | | | | ok tedu@ | ||||
* | Wrap <pthread.h> and <pthread_np.h> to eliminate PLT entries for internal | 2016-04-02 | 1 | -1/+4 | |
| | | | | | | | references. Use _thread_pagesize for the semaphore mmap size instead of calling getpagesize() each time. ok beck@ | ||||
* | remove unnecessary spinlock that slowed down pthread_getspecific. | 2013-11-02 | 1 | -4/+2 | |
| | | | | original report and fix provided by John Carr. ok guenther kettenis | ||||
* | Free the list used for tracking the pthread_{get,set}specific() | 2013-07-30 | 1 | -1/+5 | |
| | | | | | | | data after calling all the destructors. noted by kettenis@ diff by tedu@ | ||||
* | cleanup and consolidate the spinlock_lock (what a name!) code. | 2013-06-01 | 1 | -2/+2 | |
| | | | | | | | | | | it's now atomic_lock to better reflect its usage, and librthread now features a new spinlock that's really a ticket lock. thrlseep can handle both types of lock via a flag in the clock arg. (temp back compat hack) remove some old stuff that's accumulated along the way and no longer used. some feedback from dlg, who is concerned with all things ticket lock. (you need to boot a new kernel before installing librthread) | ||||
* | Move <machine/spinlock.h> into rthread.h; strip out unnecessary #includes | 2011-11-06 | 1 | -11/+1 | |
| | |||||
* | fix a few bugs in the thread specific data functions | 2011-07-05 | 1 | -5/+36 | |
| | |||||
* | use calloc() instead of malloc() and memset() | 2008-10-13 | 1 | -3/+2 | |
| | | | | "look good" tedu@ | ||||
* | add a missing underscore to the function name rthread_tls_destructors(). | 2005-12-22 | 1 | -2/+2 | |
| | |||||
* | more consistently use _rthread prefix for all not meant to be exported | 2005-12-22 | 1 | -4/+4 | |
| | | | | interfaces that aren't static, and a few that are but which will change | ||||
* | update copyright to 2005 | 2005-12-19 | 1 | -2/+2 | |
| | |||||
* | sanity check for key_delete was missing ! | 2005-12-19 | 1 | -2/+2 | |
| | |||||
* | initialize all spinlocks to _SPINLOCK_UNLOCKED | 2005-12-18 | 1 | -2/+2 | |
| | |||||
* | the beatings will continue until morale improves | 2005-12-14 | 1 | -1/+4 | |
| | |||||
* | there should be a lock around the tls key table | 2005-12-14 | 1 | -3/+17 | |
| | |||||
* | change keys to use table instead of list, makes a sane destructor implementation | 2005-12-14 | 1 | -17/+41 | |
| | | | | possible | ||||
* | malloc the right size, and memset after malloc | 2005-12-07 | 1 | -2/+4 | |
| | |||||
* | add userland thread library. incomplete, but functional | 2005-12-03 | 1 | -0/+117 | |