Skip to content

Commit

Permalink
Remove last traces of JL_HAVE_ASYNCIFY (#54569)
Browse files Browse the repository at this point in the history
It was removed in PR #53250 but this bit stayed by accident.
  • Loading branch information
fingolfin authored and DilumAluthge committed Jun 3, 2024
1 parent 5ad3435 commit 1d54223
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/task.c
Original file line number Diff line number Diff line change
Expand Up @@ -1564,23 +1564,6 @@ static void jl_set_fiber(jl_ucontext_t *t)
}
#endif

#if defined(JL_HAVE_ASYNCIFY)
#if defined(_COMPILER_TSAN_ENABLED_)
#error TSAN support not currently implemented for this tasking model
#endif

static char *jl_alloc_fiber(_jl_ucontext_t *t, size_t *ssize, jl_task_t *owner) JL_NOTSAFEPOINT
{
void *stk = jl_malloc_stack(ssize, owner);
if (stk == NULL)
return NULL;
t->stackbottom = stk;
t->stacktop = ((char*)stk) + *ssize;
return (char*)stk;
}
// jl_*_fiber implemented in js
#endif

// Initialize a root task using the given stack.
jl_task_t *jl_init_root_task(jl_ptls_t ptls, void *stack_lo, void *stack_hi)
{
Expand Down

0 comments on commit 1d54223

Please sign in to comment.