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:
1 parent
c4bc0b1a64
commit
32482f61da
15 files changed
+16
-16
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user