mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-24 08:03:32 +03:00
DragonFlyBSD build support.
This commit is contained in:
parent
bf72188f80
commit
ef6d51ed44
4 changed files with 4 additions and 4 deletions
|
|
@ -506,7 +506,7 @@ background_thread_entry(void *ind_arg) {
|
|||
assert(thread_ind < max_background_threads);
|
||||
#ifdef JEMALLOC_HAVE_PTHREAD_SETNAME_NP
|
||||
pthread_setname_np(pthread_self(), "jemalloc_bg_thd");
|
||||
#elif defined(__FreeBSD__)
|
||||
#elif defined(__FreeBSD__) || defined(__DragonFly__)
|
||||
pthread_set_name_np(pthread_self(), "jemalloc_bg_thd");
|
||||
#endif
|
||||
if (opt_percpu_arena != percpu_arena_disabled) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue