summaryrefslogtreecommitdiff
path: root/lib/libthr/thread/thr_mutex_protocol.c
Commit message (Collapse)AuthorAgeFilesLines
* Kill unused files.David Xu2006-08-281-71/+0
| | | | Notes: svn path=/head/; revision=161682
* Import my recent 1:1 threading working. some features improved includes:David Xu2005-04-021-10/+20
| | | | | | | | | | | | | | | | | | | 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
* o StyleMike Makonnen2004-02-181-19/+10
| | | | | | | | | o Instead of checking both the passed in pointer and its value for NULL, only check the latter. Any caller that passes in a NULL pointer is obviously wrong. Notes: svn path=/head/; revision=125967
* - Add libthr but don't hook it up to the regular build yet. This is anJeff Roberson2003-04-011-0/+70
adaptation of libc_r for the thr system call interface. This is beta quality code. Notes: svn path=/head/; revision=112918