From e4b87609e7e6c5e6eda127c23e1ac30ffe667e65 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Mon, 27 Jan 2025 16:08:14 +0100 Subject: [PATCH] Allow OpenMP tasks to run again --- src/emu/openmp/event.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/emu/openmp/event.c b/src/emu/openmp/event.c index 86fd217..c436906 100644 --- a/src/emu/openmp/event.c +++ b/src/emu/openmp/event.c @@ -153,6 +153,9 @@ create_task(struct emu *emu) * task, so we relax the model to allow this for now. */ uint32_t flags = TASK_FLAG_RELAX_NESTING; + /* https://gitlab.pm.bsc.es/rarias/ovni/-/issues/208 */ + flags |= TASK_FLAG_RESURRECT; + if (task_create(info, typeid, taskid, flags) != 0) { err("task_create failed"); return -1;