#include "threading/lock_guard.h"Contains lock_ keyword.


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... | |