From 0fee7d40a6d49c0f6037de8e32a9d74d045c22a5 Mon Sep 17 00:00:00 2001 From: dehnert Date: Fri, 27 Nov 2015 20:22:32 +0100 Subject: [PATCH] fixed bug in sylvan Former-commit-id: ef04d0c682e9af71e5dfd3e3fe476b5b972af0bd --- resources/3rdparty/sylvan/src/llmsset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/3rdparty/sylvan/src/llmsset.c b/resources/3rdparty/sylvan/src/llmsset.c index 16ac9a2c5..b97d092cf 100644 --- a/resources/3rdparty/sylvan/src/llmsset.c +++ b/resources/3rdparty/sylvan/src/llmsset.c @@ -58,7 +58,6 @@ VOID_TASK_0(llmsset_init_worker) // yes, ugly. for now, we use a global thread-local value. // that is a problem with multiple tables. // so, for now, do NOT use multiple tables!! - INIT_THREAD_LOCAL(my_region); CALL(llmsset_reset_region); } @@ -387,6 +386,7 @@ llmsset_create(size_t initial_size, size_t max_size) dbs->destroy_cb = NULL; LACE_ME; + INIT_THREAD_LOCAL(my_region); TOGETHER(llmsset_init_worker); return dbs;