#include "threading/lock_guard.hpp"
Contains lock_guard_ keyword.
Go to the source code of this file.
Macros | |
#define | lock_guard_(object) |
The lock_guard_ keyword marks a statement block_guard as a critical section by obtaining the mutual-exclusion lock_guard for a given object, executing a statement, and then releasing the lock_guard. The following example includes a lock_guard statement. | |