Commit 52bc0d78 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Make the ghost task lock/unlock its part of the tree.

parent 5b0ffaf3
......@@ -340,6 +340,7 @@ void task_unlock(struct task *t) {
case task_type_drift_part:
case task_type_sort:
case task_type_ghost:
case task_type_timestep_limiter:
cell_unlocktree(ci);
break;
......@@ -466,6 +467,7 @@ int task_lock(struct task *t) {
case task_type_drift_part:
case task_type_sort:
case task_type_ghost:
case task_type_timestep_limiter:
if (ci->hydro.hold) return 0;
if (cell_locktree(ci) != 0) return 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment