Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions runtime/scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,9 @@ static void setup_for_sync(__cilkrts_worker *w, worker_id self, Closure *t) {
// Set the worker's extension (analogous to updating the worker's stack
// pointer).
w->extension = t->frame->extension;
// Set the worker's extension stack to be the start of the saved
// extension fiber.
w->ext_stack = t->ext_fiber->get_stack_start();
// Set the worker's extension stack pointer to the current extension
// frame, at the bottom of that stack.
w->ext_stack = t->frame->extension;
}
t->orig_rsp = nullptr; // unset once we have sync-ed
}
Expand Down
Loading