summaryrefslogtreecommitdiffstats
path: root/lib/libthr/arch/sparc64
Commit message (Collapse)AuthorAgeFilesLines
* Import my recent 1:1 threading working. some features improved includes:davidxu2005-04-023-29/+113
| | | | | | | | | | | | | | | | 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
* Return gracefully, rather than aborting, when the maximum concurrentmtm2003-05-251-2/+2
| | | | | | threads per process has been reached. Return EAGAIN, as per spec. Approved by: re/blanket libthr
* - Pass a ucontext_t to _set_curthread. If non-NULL the new thread is setjake2003-04-031-2/+5
| | | | | | | | as curthread in the new context, so that it will be set automatically when the thread is switched to. This fixes a race where we'd run for a little while with curthread unset in _thread_start. Reviewed by: jeff
* Implement _get_curthread and _set_curthread. This is especially easy.jake2003-04-022-0/+58
|
* Add MD makefile.jake2003-04-011-0/+3
OpenPOWER on IntegriCloud