about summary refs log tree commit diff
path: root/src/stdio/__lockfile.c
Commit message (Collapse)AuthorAgeFilesLines
* reduce some ridiculously large spin countsRich Felker2011-05-061-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...
* debloat: use __syscall instead of syscall where possibleRich Felker2011-04-171-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.
* revert some more spin optimizations that turned out to be pessimizationsRich Felker2011-03-281-1/+1
|
* simplify and optimize FILE lock handlingRich Felker2011-03-241-6/+7
|
* global cleanup to use the new syscall interfaceRich Felker2011-03-201-1/+1
|
* implement flockfile api, rework stdio lockingRich Felker2011-03-121-0/+19