diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-04-04 13:32:15 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-04-04 13:32:15 +0300 |
commit | ca5ccf5cd4a9319dc24a3b3c56b9b2a9aea70805 (patch) | |
tree | a340b7580b42222e997581c641c7a9efbc755302 /source/blender/blenlib | |
parent | 4f7eb3ad12134d162db74386556ba9e4b6208722 (diff) |
Task: Remove non-atomic pool suspended flag assignment
This was done some lines above by atomic fetch and and.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/task.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/task.c b/source/blender/blenlib/intern/task.c index 17e20f8fa18..297d0f0b310 100644 --- a/source/blender/blenlib/intern/task.c +++ b/source/blender/blenlib/intern/task.c @@ -743,9 +743,7 @@ void BLI_task_pool_work_and_wait(TaskPool *pool) BLI_condition_notify_all(&scheduler->queue_cond); BLI_mutex_unlock(&scheduler->queue_mutex); - } - pool->is_suspended = false; } pool->do_work = true; |