|
Blender V4.3
|
#include <BLI_lazy_threading.hh>
Public Member Functions | |
| HintReceiver (FunctionRef< void()> fn) | |
| ~HintReceiver () | |
Used by the task scheduler to receive hints from current tasks that they will take a while. This should only be allocated on the stack.
Definition at line 74 of file BLI_lazy_threading.hh.
| blender::lazy_threading::HintReceiver::HintReceiver | ( | FunctionRef< void()> | fn | ) |
The passed in function is called when a task signals that it will take a while.
Definition at line 31 of file lazy_threading.cc.
References blender::lazy_threading::hint_receivers, and blender::Stack< T, InlineBufferCapacity, Allocator >::peek().
| blender::lazy_threading::HintReceiver::~HintReceiver | ( | ) |
Definition at line 36 of file lazy_threading.cc.
References blender::lazy_threading::hint_receivers, and blender::Stack< T, InlineBufferCapacity, Allocator >::peek().