aboutsummaryrefslogtreecommitdiff
path: root/lib/libthr/thread/thr_once.c
Commit message (Collapse)AuthorAgeFilesLines
* Create release/8.0.0 for the 8.0-RELEASE.release/8.0.0_cvsKen Smith2009-11-211-1/+1
| | | | | | Approved by: re (implicit) This commit was manufactured to restore the state of the 8.0-RELEASE image.
* Eliminate global mutex by using pthread_once's state field asDavid Xu2008-05-301-33/+29
| | | | | | | a semaphore. Notes: svn path=/head/; revision=179417
* Use macro THR_CLEANUP_PUSH/POP, they are cheaper than pthread_cleanup_push/pop.David Xu2007-10-161-2/+4
| | | | Notes: svn path=/head/; revision=172695
* Rework last change of pthread_once, create a function _thr_once_init toDavid Xu2006-02-151-2/+8
| | | | | | | reinitialize its internal locks. Notes: svn path=/head/; revision=155739
* After fork(), reinitialize internal locks for pthread_once().David Xu2006-02-151-11/+11
| | | | Notes: svn path=/head/; revision=155714
* Update copyright.David Xu2005-12-171-19/+14
| | | | Notes: svn path=/head/; revision=153496
* Import my recent 1:1 threading working. some features improved includes:David Xu2005-04-021-10/+55
| | | | | | | | | | | | | | | | | | | 1. fast simple type mutex. 2. __thread tls works. 3. asynchronous cancellation works ( using signal ). 4. thread synchronization is fully based on umtx, mainly, condition variable and other synchronization objects were rewritten by using umtx directly. those objects can be shared between processes via shared memory, it has to change ABI which does not happen yet. 5. default stack size is increased to 1M on 32 bits platform, 2M for 64 bits platform. As the result, some mysql super-smack benchmarks show performance is improved massivly. Okayed by: jeff, mtm, rwatson, scottl Notes: svn path=/head/; revision=144518
* - Add libthr but don't hook it up to the regular build yet. This is anJeff Roberson2003-04-011-0/+53
adaptation of libc_r for the thr system call interface. This is beta quality code. Notes: svn path=/head/; revision=112918