From 0e1e7389b24837578d01837eec4d30132c4edb2a Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <matthieu.schaller@durham.ac.uk>
Date: Tue, 10 Sep 2019 10:30:21 +0100
Subject: [PATCH] Lock the cells for the extra_hydro tasks

---
 src/task.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/task.c b/src/task.c
index 312b0574e1..643f084b1f 100644
--- a/src/task.c
+++ b/src/task.c
@@ -427,6 +427,7 @@ void task_unlock(struct task *t) {
     case task_type_drift_part:
     case task_type_sort:
     case task_type_ghost:
+    case task_type_extra_ghost:
     case task_type_end_hydro_force:
     case task_type_timestep_limiter:
       cell_unlocktree(ci);
@@ -572,6 +573,7 @@ int task_lock(struct task *t) {
     case task_type_drift_part:
     case task_type_sort:
     case task_type_ghost:
+    case task_type_extra_ghost:
     case task_type_end_hydro_force:
     case task_type_timestep_limiter:
       if (ci->hydro.hold) return 0;
-- 
GitLab