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