xtd 0.2.0
Loading...
Searching...
No Matches
lock.h File Reference

Definition

Contains lock_ keyword.

Go to the source code of this file.

Namespaces

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

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.
 

Typedefs

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