mirror of
https://github.com/fluencelabs/musl
synced 2025-06-24 04:01:56 +00:00
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...
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
|
||||
void __lockfile(FILE *f)
|
||||
{
|
||||
int spins=100000;
|
||||
int spins=10000;
|
||||
int tid;
|
||||
|
||||
if (f->lock < 0) return;
|
||||
|
Reference in New Issue
Block a user