musl/src
Rich Felker dac084a4c5 work around "signal loses thread pointer" issue with "approach 2"
this was discussed on the mailing list and no consensus on the
preferred solution was reached, so in anticipation of a release, i'm
just committing a minimally-invasive solution that avoids the problem
by ensuring that multi-threaded-capable programs will always have
initialized the thread pointer before any signal handler can run.

in the long term we may switch to initializing the thread pointer at
program start time whenever the program has the potential to access
any per-thread data.
2012-02-27 18:51:02 -05:00
..
aio stupid typo (caused by rather ugly spelling in POSIX..) in aio 2011-09-28 11:36:11 -04:00
conf sysconf for PTHREAD_KEYS_MAX 2011-10-03 00:03:19 -04:00
ctype document iswspace and remove wrongly-included zwsp character 2012-02-09 00:27:19 -05:00
dirent fix errno value when fdopendir is given an invalid file descriptor 2011-07-21 21:15:14 -04:00
env bring back ___environ symbol (3 underscores) 2011-08-23 12:55:47 -04:00
errno simplify multi-threaded errno, eliminate useless function pointer 2011-08-06 20:20:23 -04:00
exit add dummy __cxa_finalize 2011-10-14 23:31:04 -04:00
fcntl fix F_GETOWN return value handling 2011-10-09 22:51:03 -04:00
fenv use type directives for fenv asm functions 2011-06-28 14:41:41 -04:00
internal new attempt at working around the gcc 3 visibility bug 2012-02-24 20:07:21 -05:00
ipc overhaul pthread cancellation 2011-04-17 11:43:03 -04:00
ldso protect against cancellation in dlopen 2012-02-07 20:31:27 -05:00
linux add linux setfs[ug]id syscall wrappers 2012-01-28 21:09:50 -05:00
locale more locale_t interfaces (string stuff) and header updates 2012-02-06 21:51:02 -05:00
malloc fix issue with excessive mremap syscalls on realloc 2011-11-16 23:59:28 -05:00
math fix error in previous ld80 fpclassify commit 2011-06-30 16:37:51 -04:00
misc fix (hopefully) PTRACE_TRACEME (command 0) argument handling 2012-02-23 13:08:47 -05:00
mman process-shared barrier support, based on discussion with bdonlan 2011-09-27 13:50:29 -04:00
mq const correctness in mq_notify 2011-06-25 09:23:36 -04:00
multibyte new attempt at working around the gcc 3 visibility bug 2012-02-24 20:07:21 -05:00
network fix for previous incorrect fix of cancellation in dns lookups 2012-02-23 13:07:20 -05:00
passwd make passwd/group functions safe against cancellation in stdio 2012-02-01 23:51:19 -05:00
prng locking support for random() prng 2011-06-29 15:29:52 -04:00
process x86_64 vfork implementation 2012-02-06 18:23:11 -05:00
regex make glob mark symlinks-to-directories with the GLOB_MARK flag 2012-01-23 19:51:34 -05:00
search XSI search.h API implementation by Szabolcs Nagy 2011-06-25 18:18:57 -04:00
select overhaul pthread cancellation 2011-04-17 11:43:03 -04:00
setjmp initial commit of the arm port 2011-09-18 16:44:54 -04:00
signal work around "signal loses thread pointer" issue with "approach 2" 2012-02-27 18:51:02 -05:00
stat fix statvfs.c to match new fsid_t definition 2011-09-20 11:18:13 -04:00
stdio make stdio open, read, and write operations cancellation points 2012-02-02 00:11:29 -05:00
stdlib add deprecated (removed from posix) [efg]cvt() functions 2012-02-06 01:14:23 -05:00
string add dummied strverscmp (obnoxious GNU function) 2011-09-11 22:45:56 -04:00
stub
temp remove ugly prng from mk*temp and just re-poll time on retry 2011-07-28 22:03:54 -04:00
termios overhaul pthread cancellation 2011-04-17 11:43:03 -04:00
thread work around "signal loses thread pointer" issue with "approach 2" 2012-02-27 18:51:02 -05:00
time cleanup various minor issues reported by nsz 2011-09-26 00:59:28 -04:00
unistd cleanup various minor issues reported by nsz 2011-09-26 00:59:28 -04:00