Geometry Nodes: disable multi-threading in evaluator for now

A deadlock could happen under certain circumstances when
geometry nodes is used on multiple objects.
Once T88598 is resolved, multi-threading can be enabled again.

Differential Revision: https://developer.blender.org/D11405
This commit is contained in:
Jacques Lucke 2021-05-27 09:43:11 +02:00
parent 7d20cf92dd
commit 223c6e1ead
Notes: blender-bot 2023-02-14 08:24:03 +01:00
Referenced by commit 933c2cffd6, Geometry Nodes: enable multi-threading in evaluator again
Referenced by issue #88598, Task isolation in task pool causes deadlock.
1 changed files with 2 additions and 1 deletions

View File

@ -380,7 +380,8 @@ class GeometryNodesEvaluator {
void execute()
{
task_pool_ = BLI_task_pool_create(this, TASK_PRIORITY_HIGH);
/* Disable threading until T88598 is resolved. */
task_pool_ = BLI_task_pool_create_no_threads(this);
this->create_states_for_reachable_nodes();
this->forward_group_inputs();