Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Supports the WRL infrastructure and is not intended to be used directly from your code.
template <
typename SyncTraits
>
class SyncLockWithStatusT : public SyncLockT<SyncTraits>;
Parameters
- SyncTraits
A type that can take exclusive or shared ownership of a resource.
Remarks
Represents a type that can take exclusive or shared ownership of a resource.
The SyncLockWithStatusT class is used to implement the Mutex and Semaphore classes.
Members
Public Constructors
Name |
Description |
---|---|
Initializes a new instance of the SyncLockWithStatusT class. |
Protected Constructors
Name |
Description |
---|---|
Initializes a new instance of the SyncLockWithStatusT class. |
Public Methods
Name |
Description |
---|---|
Retrieves the wait status of the current SyncLockWithStatusT object. |
|
Indicates whether the current SyncLockWithStatusT object owns a resource; that is, the SyncLockWithStatusT object is locked. |
Protected Data Members
Name |
Description |
---|---|
Holds the result of the underlying wait operation after a lock operation on an object based on the current SyncLockWithStatusT object. |
Inheritance Hierarchy
SyncLockT
SyncLockWithStatusT
Requirements
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers::Details