Blender V5.0
blender::fn::lazy_function::CurrentTask Struct Reference

Public Attributes

Mutex mutex
ScheduledNodes scheduled_nodes
std::atomic< bool > has_scheduled_nodes = false

Detailed Description

Definition at line 273 of file lazy_function_graph_executor.cc.

Member Data Documentation

◆ has_scheduled_nodes

std::atomic<bool> blender::fn::lazy_function::CurrentTask::has_scheduled_nodes = false

Makes it cheaper to check if there are any scheduled nodes because it avoids locking the mutex.

Definition at line 286 of file lazy_function_graph_executor.cc.

◆ mutex

Mutex blender::fn::lazy_function::CurrentTask::mutex

Mutex used to protect scheduled_nodes when the executor uses multi-threading.

Definition at line 277 of file lazy_function_graph_executor.cc.

◆ scheduled_nodes

ScheduledNodes blender::fn::lazy_function::CurrentTask::scheduled_nodes

Nodes that have been scheduled to execute next.

Definition at line 281 of file lazy_function_graph_executor.cc.


The documentation for this struct was generated from the following file: