diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-05-01 16:56:02 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-05-01 17:00:31 -0400 |
commit | 941bd884cc0221d051840ce6d21650339e711863 (patch) | |
tree | c1c372cb94e568319483373b0b9403995ed2e841 /src/thread/pthread_testcancel.c | |
parent | 375840c7d8e1f58a9bf40ced72fbe82635f49489 (diff) | |
download | musl-941bd884cc0221d051840ce6d21650339e711863.tar.gz musl-941bd884cc0221d051840ce6d21650339e711863.tar.xz musl-941bd884cc0221d051840ce6d21650339e711863.zip |
optimize sigisemptyset
the static const zero set ended up getting put in bss instead of rodata, wasting writable memory, and the call to memcmp was size-inefficient. generally for nonstandard extension functions we try to avoid poking at any internals directly, but the way the zero set was setup was arguably already doing so.
Diffstat (limited to 'src/thread/pthread_testcancel.c')
0 files changed, 0 insertions, 0 deletions