xtd 0.2.0
Loading...
Searching...
No Matches
lock.hpp File Reference
#include "threading/lock.hpp"

Definition

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.