revise the definition of multiple basic locks in the code

In all cases this is just a change from two volatile int to one.
This commit is contained in:
Jens Gustedt authored and Rich Felker committed 2018-01-09 13:15:27 -05:00
1 parent c4bc0b1a64
commit 32482f61da
15 files changed
+16 -16

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ static struct atfork_funcs {
struct atfork_funcs *prev, *next;
} *funcs;
static volatile int lock[2];
static volatile int lock[1];
void __fork_handler(int who)
{