diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-02-01 16:41:53 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-02-01 16:41:53 -0500 |
commit | facc6acbfd20accea435d10fdd070b23877e40db (patch) | |
tree | d6d52d22c5463a9e46e2d48efa9997407111d5bf /src/thread/pthread_getspecific.c | |
parent | 96fbcf7d80f469e39d1dd12533f8bb8d13b64fe5 (diff) | |
download | musl-facc6acbfd20accea435d10fdd070b23877e40db.tar.gz |
replace __wake function with macro that performs direct syscall
this should generate faster and smaller code, especially with inline
syscalls. the conditional with cnt is ugly, but thankfully cnt is
always a constant anyway so it gets evaluated at compile time. it may
be preferable to make separate __wake and __wakeall macros without a
count argument.
priv flag is not used yet; private futex support still needs to be
done at some point in the future.
Diffstat (limited to 'src/thread/pthread_getspecific.c')
0 files changed, 0 insertions, 0 deletions