Revision df377d03
b/linux-user/mmap.c | ||
---|---|---|
36 | 36 |
//#define DEBUG_MMAP |
37 | 37 |
|
38 | 38 |
#if defined(USE_NPTL) |
39 |
pthread_mutex_t mmap_mutex; |
|
39 |
pthread_mutex_t mmap_mutex = PTHREAD_MUTEX_INITIALIZER;
|
|
40 | 40 |
static int __thread mmap_lock_count; |
41 | 41 |
|
42 | 42 |
void mmap_lock(void) |
Also available in: Unified diff