We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 806240c commit fbe3380Copy full SHA for fbe3380
deps/task.c
@@ -5,6 +5,13 @@
5
6
#include "julia.h"
7
8
+jl_task_t *vanilla_get_current_task(void)
9
+{
10
+ jl_ptls_t ptls = jl_get_ptls_states();
11
+ return (jl_task_t*)ptls->current_task;
12
+}
13
+
14
15
jl_task_t *jl_enable_stack_copying(jl_task_t *t)
16
{
17
#if JULIA_VERSION_MAJOR == 1 && JULIA_VERSION_MINOR >= 1
0 commit comments