summaryrefslogtreecommitdiff
path: root/src/stdio/__lockfile.c
AgeCommit message (Collapse)AuthorLines
2011-05-06reduce some ridiculously large spin countsRich Felker-1/+1
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-04-17debloat: use __syscall instead of syscall where possibleRich Felker-1/+1
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-03-28revert some more spin optimizations that turned out to be pessimizationsRich Felker-1/+1
2011-03-24simplify and optimize FILE lock handlingRich Felker-6/+7
2011-03-20global cleanup to use the new syscall interfaceRich Felker-1/+1
2011-03-12implement flockfile api, rework stdio lockingRich Felker-0/+19