|
Blender V4.3
|
#include <BLI_lazy_threading.hh>
Public Member Functions | |
| ReceiverIsolation () | |
| ~ReceiverIsolation () | |
Used to make sure that lazy-threading hints don't propagate through task isolation. This is necessary to avoid deadlocks when isolated regions are used together with e.g. task pools. For more info see the comment on BLI_task_isolate.
Definition at line 90 of file BLI_lazy_threading.hh.
| blender::lazy_threading::ReceiverIsolation::ReceiverIsolation | ( | ) |
Definition at line 41 of file lazy_threading.cc.
References blender::lazy_threading::hint_receivers, and blender::Stack< T, InlineBufferCapacity, Allocator >::push_as().
| blender::lazy_threading::ReceiverIsolation::~ReceiverIsolation | ( | ) |
Definition at line 46 of file lazy_threading.cc.
References BLI_assert, blender::lazy_threading::hint_receivers, blender::Stack< T, InlineBufferCapacity, Allocator >::peek(), and blender::Stack< T, InlineBufferCapacity, Allocator >::pop().