summaryrefslogtreecommitdiff
path: root/src/thread/cancellation2.c
AgeCommit message (Collapse)AuthorLines
2011-03-25match glibc/lsb cancellation abi on i386Rich Felker-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.