System::Threading::Monitor::Enter method
Monitor::Enter(const SharedPtr<Object>&) method
Acquires an exclusive lock on a specified object.
static void System::Threading::Monitor::Enter(const SharedPtr<Object> &obj)
Parameter | Type | Description |
---|---|---|
obj | const SharedPtr<Object>& | The object on which to acquire the monitor lock. |
See Also
- Typedef SharedPtr
- Class Object
- Class Monitor
- Namespace System::Threading
- Library Aspose.PDF for C++
Monitor::Enter(const System::SharedPtr<Object>&, bool&) method
Acquires an exclusive lock on the specified object, and atomically sets a value that indicates whether the lock was taken.
static void System::Threading::Monitor::Enter(const System::SharedPtr<Object> &obj, bool &lockTaken)
See Also
- Typedef SharedPtr
- Class Object
- Class Monitor
- Namespace System::Threading
- Library Aspose.PDF for C++