6 Commits

Author SHA1 Message Date
Rich Felker
77f15d108e reduce some ridiculously large spin counts
these should be tweaked according to testing. offhand i know 1000 is
too low and 5000 is likely to be sufficiently high. consider trying to
add futexes to file locking, too...
2011-05-06 21:45:48 -04:00
Rich Felker
eb0e8fa0b1 debloat: use __syscall instead of syscall where possible
don't waste time (and significant code size due to function call
overhead!) setting errno when the result of a syscall does not matter
or when it can't fail.
2011-04-17 16:32:15 -04:00
Rich Felker
4106cdcd2d revert some more spin optimizations that turned out to be pessimizations 2011-03-28 22:36:55 -04:00
Rich Felker
a37452430f simplify and optimize FILE lock handling 2011-03-24 23:16:52 -04:00
Rich Felker
aa398f56fa global cleanup to use the new syscall interface 2011-03-20 00:16:43 -04:00
Rich Felker
5eb0d33ec0 implement flockfile api, rework stdio locking 2011-03-12 21:55:45 -05:00