diff options
Diffstat (limited to 'src/util/mutex.c')
-rw-r--r-- | src/util/mutex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/mutex.c b/src/util/mutex.c index 0e1c816..52173af 100644 --- a/src/util/mutex.c +++ b/src/util/mutex.c @@ -47,5 +47,6 @@ struct Mutex* create_mutex(void* addr) // Ensure aligned to word - Important for Atomic Swap struct Mutex* m = (struct Mutex*)malloca(sizeof(struct Mutex), 4); m->addr = addr; + m->pid = 0; return m; } |