replace __wake function with macro that performs direct syscall
authorRich Felker <dalias@aerifal.cx>
Fri, 1 Feb 2013 21:41:53 +0000 (16:41 -0500)
committerRich Felker <dalias@aerifal.cx>
Fri, 1 Feb 2013 21:41:53 +0000 (16:41 -0500)
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.


No differences found