Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Eliminate global mutex by using pthread_once's state field as | davidxu | 2008-05-30 | 1 | -33/+29 |
| | | | | a semaphore. | ||||
* | Use macro THR_CLEANUP_PUSH/POP, they are cheaper than pthread_cleanup_push/pop. | davidxu | 2007-10-16 | 1 | -2/+4 |
| | |||||
* | Rework last change of pthread_once, create a function _thr_once_init to | davidxu | 2006-02-15 | 1 | -2/+8 |
| | | | | reinitialize its internal locks. | ||||
* | After fork(), reinitialize internal locks for pthread_once(). | davidxu | 2006-02-15 | 1 | -11/+11 |
| | |||||
* | Update copyright. | davidxu | 2005-12-17 | 1 | -19/+14 |
| | |||||
* | Import my recent 1:1 threading working. some features improved includes: | davidxu | 2005-04-02 | 1 | -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 | ||||
* | - Add libthr but don't hook it up to the regular build yet. This is an | jeff | 2003-04-01 | 1 | -0/+53 |
adaptation of libc_r for the thr system call interface. This is beta quality code. |