Skip to content

ARecursiveMutex#

Like AMutex but can handle multiple locks for one thread (recursive).

Header:#include <AUI/Thread/AMutex.h>
CMake:aui_link(my_target PUBLIC aui::core)

Detailed Description#

Please note that the usage of recursive mutex may indicate that your code may have architectural issues related to the concurrency (e.g., comodification of a container that is being foreach-looped). Use recursive mutex with care.