Module Name: src
Committed By: christos
Date: Mon Mar 4 19:16:10 UTC 2019
Modified Files:
src/external/bsd/jemalloc/include/jemalloc/internal: mutex_prof.h
Log Message:
use ATOMIC_INIT()
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/external/bsd/jemalloc/include/jemalloc/internal/mutex_prof.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/jemalloc/include/jemalloc/internal/mutex_prof.h
diff -u src/external/bsd/jemalloc/include/jemalloc/internal/mutex_prof.h:1.1 src/external/bsd/jemalloc/include/jemalloc/internal/mutex_prof.h:1.2
--- src/external/bsd/jemalloc/include/jemalloc/internal/mutex_prof.h:1.1 Mon Mar 4 12:25:09 2019
+++ src/external/bsd/jemalloc/include/jemalloc/internal/mutex_prof.h Mon Mar 4 14:16:10 2019
@@ -103,7 +103,7 @@ typedef struct {
.n_wait_times = 0, \
.n_spin_acquired = 0, \
.max_n_thds = 0, \
- .n_waiting_thds = 0, \
+ .n_waiting_thds = ATOMIC_INIT(0), \
.n_owner_switches = 0, \
.prev_owner = NULL, \
.n_lock_ops = 0, \