ACE_eventdata_t Struct Reference

#include <OS_NS_Thread.h>

List of all members.

Public Attributes

ACE_mutex_t lock_
 Protect critical section.
ACE_cond_t condition_
 Keeps track of waiters.
int type_
 Object type.
int manual_reset_
 Specifies if this is an auto- or manual-reset event.
int is_signaled_
 "True" if signaled.
bool auto_event_signaled_
 Special bool for auto_events alone.
unsigned long waiting_threads_
 Number of waiting threads.
unsigned long signal_count_
 Signal count.


Detailed Description

Definition at line 1808 of file OS_NS_Thread.h.


Member Data Documentation

bool ACE_eventdata_t::auto_event_signaled_

Special bool for auto_events alone.

The semantics of auto events forces us to introduce this extra variable to ensure that the thread is not woken up spuriously. Please see event_wait and event_timedwait () to see how this is used for auto_events.

Todo:
This is a hack that needs revisiting after x.4

Definition at line 1842 of file OS_NS_Thread.h.

ACE_cond_t ACE_eventdata_t::condition_

Keeps track of waiters.

Definition at line 1816 of file OS_NS_Thread.h.

int ACE_eventdata_t::is_signaled_

"True" if signaled.

Definition at line 1832 of file OS_NS_Thread.h.

ACE_mutex_t ACE_eventdata_t::lock_

Protect critical section.

Definition at line 1814 of file OS_NS_Thread.h.

int ACE_eventdata_t::manual_reset_

Specifies if this is an auto- or manual-reset event.

Definition at line 1829 of file OS_NS_Thread.h.

unsigned long ACE_eventdata_t::signal_count_

Signal count.

Definition at line 1848 of file OS_NS_Thread.h.

int ACE_eventdata_t::type_

Object type.

Definition at line 1826 of file OS_NS_Thread.h.

Referenced by ACE_OS::event_init().

unsigned long ACE_eventdata_t::waiting_threads_

Number of waiting threads.

Definition at line 1845 of file OS_NS_Thread.h.


The documentation for this struct was generated from the following file:
Generated on Tue Feb 2 17:35:06 2010 for ACE by  doxygen 1.4.7