Module Name:    src
Committed By:   christos
Date:           Mon Mar  4 20:06:11 UTC 2019

Modified Files:
        src/external/bsd/jemalloc/dist/include/jemalloc/internal: mutex_prof.h

Log Message:
Adjust to new names


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
    src/external/bsd/jemalloc/dist/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/dist/include/jemalloc/internal/mutex_prof.h
diff -u src/external/bsd/jemalloc/dist/include/jemalloc/internal/mutex_prof.h:1.2 src/external/bsd/jemalloc/dist/include/jemalloc/internal/mutex_prof.h:1.3
--- src/external/bsd/jemalloc/dist/include/jemalloc/internal/mutex_prof.h:1.2	Mon Mar  4 12:23:37 2019
+++ src/external/bsd/jemalloc/dist/include/jemalloc/internal/mutex_prof.h	Mon Mar  4 15:06:11 2019
@@ -96,17 +96,16 @@ typedef struct {
 	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 */

Reply via email to