Skip to content

Commit da5a384

Browse files
committed
JL_THREAD -> JL_THREAD_LOCAL
This code is currently dead on all supported platforms, which is why nobody noticed this breakage, but thread locality is annotated using the `JL_THREAD_LOCAL` macro these days, not the `JL_THREAD` macro (which no longer exists).
1 parent 6589e63 commit da5a384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/task.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ static void jl_start_fiber(jl_ucontext_t *lastt, jl_ucontext_t *t);
7070
static void jl_swap_fiber(jl_ucontext_t *lastt, jl_ucontext_t *t);
7171

7272
#ifdef JL_HAVE_UNW_CONTEXT
73-
static JL_THREAD unw_cursor_t jl_basecursor;
73+
static JL_THREAD_LOCAL unw_cursor_t jl_basecursor;
7474
#endif
7575

7676
#ifdef ALWAYS_COPY_STACKS

0 commit comments

Comments
 (0)