System::Threading::WaitHandle::WaitAll metodo
Contenuti
[
Nascondere
]WaitHandle::WaitAll(const System::ArrayPtr<System::SharedPtr<WaitHandle>>&) method
Attende che tutti gli handle vengano attivati.
static bool System::Threading::WaitHandle::WaitAll(const System::ArrayPtr<System::SharedPtr<WaitHandle>> &waitHandles)
| Parametro | Tipo | Descrizione |
|---|---|---|
| waitHandles | const System::ArrayPtr<System::SharedPtr<WaitHandle>>& | Handle da attendere. |
ReturnValue
Vero quando ogni elemento in waitHandles ha ricevuto un segnale; altrimenti il metodo non ritorna mai.
Vedi anche
- Typedef ArrayPtr
- Typedef SharedPtr
- Class WaitHandle
- Class WaitHandle
- Namespace System::Threading
- Library Aspose.Font for C++
WaitHandle::WaitAll(const System::ArrayPtr<System::SharedPtr<WaitHandle>>&, int) method
Informazioni RTTI.
static bool System::Threading::WaitHandle::WaitAll(const System::ArrayPtr<System::SharedPtr<WaitHandle>> &waitHandles, int millisecondsTimeout)
| Parametro | Tipo | Descrizione |
|---|---|---|
| waitHandles | const System::ArrayPtr<System::SharedPtr<WaitHandle>>& | Handle da attendere. |
| millisecondsTimeout | int | Timeout da attendere, in millisecondi; -1 indica attesa infinita, 0 indica verifica e ritorno, i valori positivi sono timeout. |
ReturnValue
Vero se tutti gli handle sono stati attivati, falso se il timeout è scaduto.
Osservazioni
Attende che tutti gli handle vengano attivati.
Vedi anche
- Typedef ArrayPtr
- Typedef SharedPtr
- Class WaitHandle
- Class WaitHandle
- Namespace System::Threading
- Library Aspose.Font for C++
WaitHandle::WaitAll(const System::ArrayPtr<System::SharedPtr<WaitHandle>>&, TimeSpan) method
Attende che tutti gli handle vengano attivati.
static bool System::Threading::WaitHandle::WaitAll(const System::ArrayPtr<System::SharedPtr<WaitHandle>> &waitHandles, TimeSpan timeout)
| Parametro | Tipo | Descrizione |
|---|---|---|
| waitHandles | const System::ArrayPtr<System::SharedPtr<WaitHandle>>& | Handle da attendere. |
| timeout | TimeSpan | Un System::TimeSpan che rappresenta il numero di millisecondi da attendere, oppure un System::TimeSpan che rappresenta -1 millisecondi per attendere indefinitamente. |
ReturnValue
Vero se tutti gli handle sono stati attivati, falso se il timeout è scaduto.
Vedi anche
- Typedef ArrayPtr
- Typedef SharedPtr
- Class WaitHandle
- Class TimeSpan
- Class WaitHandle
- Namespace System::Threading
- Library Aspose.Font for C++