xtd 0.2.0
lock.h File Reference

Definition

Contains lock_ keyword.

Include dependency graph for lock.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 xtd
 The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
 

Macros

#define lock_(object)   lock_guard_(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. More...
 

Typedefs

using xtd::lock = xtd::threading::lock_guard
 Provides a mechanism that synchronizes access to objects with xtd::threading::monitor. More...