20 #ifndef COIL_CONDITION_H 21 #define COIL_CONDITION_H 86 ::pthread_cond_destroy(&
m_cond);
178 bool wait(
long second,
long nano_second = 0)
181 abstime.tv_sec = std::time(0) + second;
182 abstime.tv_nsec = nano_second;
193 #endif // COIL_CONDITION_H
int pthread_cond_broadcast(pthread_cond_t *cv)
Resume of all the thread practice.
int pthread_cond_wait(coil::pthread_cond_t *cv, coil::Mutex *external_mutex, DWORD aMilliSecond)
Wait of the thread practice.
ACE_thread_mutex_t mutex_
Condition(M &mutex)
Constructor.
Condition & operator=(const Mutex &)
void broadcast()
Resume of all the thread practice.
int pthread_cond_signal(pthread_cond_t *cv)
Resume of the thread practice.
static int pthread_cond_init(pthread_cond_t *cv)
bool wait(long second, long nano_second=0)
Thread practice wait of set time.
void signal()
Resume of the thread practice.
Common Object Interface Layer.
bool wait()
Wait of the thread practice.