Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/jemalloc/dist/include/jemalloc/internal Adjust ...



details:   https://anonhg.NetBSD.org/src/rev/9bd877c55dda
branches:  trunk
changeset: 449383:9bd877c55dda
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Mar 04 20:06:11 2019 +0000

description:
Adjust to new names

diffstat:

 external/bsd/jemalloc/dist/include/jemalloc/internal/mutex_prof.h |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (25 lines):

diff -r d9cada0688da -r 9bd877c55dda external/bsd/jemalloc/dist/include/jemalloc/internal/mutex_prof.h
--- a/external/bsd/jemalloc/dist/include/jemalloc/internal/mutex_prof.h Mon Mar 04 20:05:19 2019 +0000
+++ b/external/bsd/jemalloc/dist/include/jemalloc/internal/mutex_prof.h Mon Mar 04 20:06:11 2019 +0000
@@ -96,17 +96,16 @@
        uint64_t                n_lock_ops;
 } mutex_prof_data_t;
 
-#define MUTEX_PROF_DATA_ZERO_INITIALIZER \
+#define MUTEX_PROF_DATA_INITIALIZER \
        { \
-               .tot_wait_time = NSTIME_ZERO_INITIALIZER, \
-               .max_wait_time = NSTIME_ZERO_INITIALIZER, \
+               .tot_wait_time = NSTIME_INITIALIZER, \
+               .max_wait_time = NSTIME_INITIALIZER, \
                .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, \
        }
-
 #endif /* JEMALLOC_INTERNAL_MUTEX_PROF_H */



Home | Main Index | Thread Index | Old Index