about summary refs log tree commit diff
path: root/src/thread/cancellation3.c
Commit message (Collapse)AuthorAgeFilesLines
* fix static linking dependency bloat with cancellationRich Felker2011-08-031-0/+0
| | | | | | | previously, pthread_cleanup_push/pop were pulling in all of pthread_create due to dependency on the __pthread_unwind_next function. this was not needed, as cancellation cleanup handlers can never be called unless pthread_exit or pthread_cancel is reachable.
* match glibc/lsb cancellation abi on i386Rich Felker2011-03-251-0/+0
glibc made the ridiculous choice to use pass-by-register calling convention for these functions, which is impossible to duplicate directly on non-gcc compilers. instead, we use ugly asm to wrap and convert the calling convention. presumably this works with every compiler anyone could potentially want to use.