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
5 changes: 5 additions & 0 deletions taskvine/src/manager/vine_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -3039,6 +3039,11 @@ and change the task state.

static void reap_task_from_worker(struct vine_manager *q, struct vine_worker_info *w, struct vine_task *t, vine_task_state_t new_state)
{
/* hotfix: do not reap the task if it has been reaped before */
if (!t->worker) {
return;
}

/* Make sure the task and worker agree before changing anything. */
assert(t->worker == w);

Expand Down
Loading