Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2014-09-06 | use weak symbols for the POSIX functions that will be used by C threads | Jens Gustedt | -1/+3 | |
The intent of this is to avoid name space pollution of the C threads implementation. This has two sides to it. First we have to provide symbols that wouldn't pollute the name space for the C threads implementation. Second we have to clean up some internal uses of POSIX functions such that they don't implicitly drag in such symbols. | ||||
2014-07-06 | rework cancellation weak alias logic not to depend on archive order | Rich Felker | -1/+6 | |
if the order of object files in the static archive libc.a was not respected by the linker, the old logic could wrongly cause POSIX symbols outside of the ISO C namespace to be pulled into pure C programs. this should not happen with well-behaved linkers, but relying on the link order was a bad idea anyway. files are renamed to better reflect their contents now that they don't need names to control their order as members in the archive file. | ||||
2011-08-06 | use weak aliases rather than function pointers to simplify some code | Rich Felker | -1/+3 | |
2011-04-17 | overhaul pthread cancellation | Rich Felker | -2/+1 | |
this patch improves the correctness, simplicity, and size of cancellation-related code. modulo any small errors, it should now be completely conformant, safe, and resource-leak free. the notion of entering and exiting cancellation-point context has been completely eliminated and replaced with alternative syscall assembly code for cancellable syscalls. the assembly is responsible for setting up execution context information (stack pointer and address of the syscall instruction) which the cancellation signal handler can use to determine whether the interrupted code was in a cancellable state. these changes eliminate race conditions in the previous generation of cancellation handling code (whereby a cancellation request received just prior to the syscall would not be processed, leaving the syscall to block, potentially indefinitely), and remedy an issue where non-cancellable syscalls made from signal handlers became cancellable if the signal handler interrupted a cancellation point. x86_64 asm is untested and may need a second try to get it right. | ||||
2011-02-12 | initial check-in, version 0.5.0v0.5.0 | Rich Felker | -0/+7 | |