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/a85fdd3e9e47
branches:  trunk
changeset: 997347:a85fdd3e9e47
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 61fc4c6cc58a -r a85fdd3e9e47 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