System::Threading::Monitor::Enter metodo
Monitor::Enter(const SharedPtr<Object>&) method
Acquisisce un lock esclusivo su un oggetto specificato.
static void System::Threading::Monitor::Enter(const SharedPtr<Object> &obj)
| Parametro | Tipo | Descrizione |
|---|---|---|
| obj | const SharedPtr<Object>& | L’oggetto su cui acquisire il lock del monitor. |
Vedi anche
- Typedef SharedPtr
- Class Object
- Class Monitor
- Namespace System::Threading
- Library Aspose.Font for C++
Monitor::Enter(const System::SharedPtr<Object>&, bool&) method
Acquisisce un lock esclusivo sull’oggetto specificato e imposta in modo atomico un valore che indica se il lock è stato acquisito.
static void System::Threading::Monitor::Enter(const System::SharedPtr<Object> &obj, bool &lockTaken)
Vedi anche
- Typedef SharedPtr
- Class Object
- Class Monitor
- Namespace System::Threading
- Library Aspose.Font for C++