Blender V5.0
blender::lazy_threading::ReceiverIsolation Class Reference

#include <BLI_lazy_threading.hh>

Public Member Functions

 ReceiverIsolation ()
 ~ReceiverIsolation ()

Detailed Description

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.

Constructor & Destructor Documentation

◆ ReceiverIsolation()

blender::lazy_threading::ReceiverIsolation::ReceiverIsolation ( )

Definition at line 45 of file lazy_threading.cc.

References blender::lazy_threading::hint_receivers.

◆ ~ReceiverIsolation()

blender::lazy_threading::ReceiverIsolation::~ReceiverIsolation ( )

Definition at line 50 of file lazy_threading.cc.

References BLI_assert, and blender::lazy_threading::hint_receivers.


The documentation for this class was generated from the following files: