Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Import my recent 1:1 threading working. some features improved includes: | davidxu | 2005-04-02 | 3 | -22/+99 |
| | | | | | | | | | | | | | | | | 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 concurrent | mtm | 2003-05-25 | 1 | -2/+2 |
| | | | | | | threads per process has been reached. Return EAGAIN, as per spec. Approved by: re/blanket libthr | ||||
* | The struct mcontext has changed. It's using the register sets. Bring | marcel | 2003-05-25 | 1 | -1/+1 |
| | | | | this in line. | ||||
* | Add support for ia64. | marcel | 2003-04-20 | 2 | -0/+64 |
Note that the tp register (r13) is reserved as the TLS pointer in the same way that that gp register (r1) is reserved as the global pointer. This implementation uses the tp register to point to the thread structure used by the threads implementation. This is not in violation with the runtime specification provided the TLS is a fixed distance from the thread structure. This is only an issue when code used the __thread keyword to create TLS. This is not supported at the moment. |