Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move mutex, condvar, and thread-specific data routes, pthread_once, and | 2017-09-05 | 1 | -20/+1 | |
| | | | | | | | | pthread_exit from libpthread to libc, along with low-level bits to support them. Major bump to both libc and libpthread. Requested by libressl team. Ports testing by naddy@ ok kettenis@ | ||||
* | Less lock contention by using more pools for mult-threaded programs. | 2016-09-01 | 1 | -3/+3 | |
| | | | | tested by many (thanks!) ok tedu, guenther@ | ||||
* | Use a Thread Information Block in both single and multi-threaded programs. | 2016-05-07 | 1 | -0/+41 | |
This stores errno, the cancelation flags, and related bits for each thread and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable! Make libpthread dlopen'able by moving the cancelation wrappers into libc and doing locking and fork/errno handling via callbacks that libpthread registers when it first initializes. 'errno' *must* be declared via <errno.h> now! Clean up libpthread's symbol exports like libc. On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec. Testing by various, particularly sthen@ and patrick@ ok kettenis@ |