Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/jemalloc/include/jemalloc/internal use ATOMIC_I...
details: https://anonhg.NetBSD.org/src/rev/f32b909f8a6a
branches: trunk
changeset: 449367:f32b909f8a6a
user: christos <christos%NetBSD.org@localhost>
date: Mon Mar 04 19:16:10 2019 +0000
description:
use ATOMIC_INIT()
diffstat:
external/bsd/jemalloc/include/jemalloc/internal/mutex_prof.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 8051fb61b313 -r f32b909f8a6a external/bsd/jemalloc/include/jemalloc/internal/mutex_prof.h
--- a/external/bsd/jemalloc/include/jemalloc/internal/mutex_prof.h Mon Mar 04 19:15:39 2019 +0000
+++ b/external/bsd/jemalloc/include/jemalloc/internal/mutex_prof.h Mon Mar 04 19:16:10 2019 +0000
@@ -103,7 +103,7 @@
.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, \
Home |
Main Index |
Thread Index |
Old Index