Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2011-06-14 | __syscall5 inline is having trouble with PIC; just use the function for now | Rich Felker | 1 | -0/+7 | |
2011-06-14 | fix race condition in pthread_kill | Rich Felker | 3 | -1/+8 | |
if thread id was reused by the kernel between the time pthread_kill read it from the userspace pthread_t object and the time of the tgkill syscall, a signal could be sent to the wrong thread. the tgkill syscall was supposed to prevent this race (versus the old tkill syscall) but it can't; it can only help in the case where the tid is reused in a different process, but not when the tid is reused in the same process. the only solution i can see is an extra lock to prevent threads from exiting while another thread is trying to pthread_kill them. it should be very very cheap in the non-contended case. | |||||
2011-06-14 | run dtors before taking the exit-lock in pthread exit | Rich Felker | 1 | -2/+2 | |
previously a long-running dtor could cause pthread_detach to block. | |||||
2011-06-14 | minor locking optimizations | Rich Felker | 2 | -2/+2 | |
2011-06-13 | avoid 64bit warnings when using pointers as entropy for temp names | Rich Felker | 2 | -2/+4 | |
2011-06-13 | fix sigset macro for 64-bit systems (<< was overflowing due to wrong type) | Rich Felker | 1 | -1/+1 | |
2011-06-13 | remove all .size and .type directives for functions from the asm | Rich Felker | 18 | -52/+0 | |
these are useless and have caused problems for users trying to build with non-gnu tools like tcc's assembler. | |||||
2011-06-13 | remove old useless timezone.s file (unused) | Rich Felker | 1 | -27/+0 | |
2011-06-13 | fix wrong type for wcsrchr argument 2 | Rich Felker | 1 | -1/+1 | |