summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_pspinlock.c
Commit message (Collapse)AuthorAgeFilesLines
* Reverse the logic of UP and SMP.davidxu2007-10-161-1/+1
| | | | Submitted by: jasone
* - Remove variable _thr_scope_system, all threads are system scope.davidxu2006-12-151-5/+3
| | | | | - Rename _thr_smp_cpus to boolean variable _thr_is_smp. - Define CPU_SPINWAIT macro for each arch, only X86 supports it.
* Replace internal usage of struct umtx with umutex which can supportsdavidxu2006-09-061-5/+5
| | | | real-time if we want, no functionality is changed.
* Get number of CPUs and ignore spin count on single processor machine.davidxu2006-08-081-6/+10
|
* WARNS level 4 cleanup.davidxu2006-04-041-0/+3
|
* Import my recent 1:1 threading working. some features improved includes:davidxu2005-04-021-0/+133
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
OpenPOWER on IntegriCloud