mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 13:13:06 +00:00
Convert all tsd variables to reside in a single tsd structure.
This commit is contained in:
@@ -16,11 +16,11 @@ data_cleanup(void *arg)
|
||||
data_cleanup_executed = true;
|
||||
}
|
||||
|
||||
malloc_tsd_protos(, data, data_t)
|
||||
malloc_tsd_externs(data, data_t)
|
||||
malloc_tsd_protos(, data_, data_t)
|
||||
malloc_tsd_externs(data_, data_t)
|
||||
#define DATA_INIT 0x12345678
|
||||
malloc_tsd_data(, data, data_t, DATA_INIT)
|
||||
malloc_tsd_funcs(, data, data_t, DATA_INIT, data_cleanup)
|
||||
malloc_tsd_data(, data_, data_t, DATA_INIT)
|
||||
malloc_tsd_funcs(, data_, data_t, DATA_INIT, data_cleanup)
|
||||
|
||||
static void *
|
||||
thd_start(void *arg)
|
||||
|
||||
Reference in New Issue
Block a user