Classes | |
struct | zbar_event_s |
Typedefs | |
typedef struct zbar_event_s | zbar_event_t |
Functions | |
void | _zbar_event_destroy (zbar_event_t *) |
int | _zbar_event_init (zbar_event_t *) |
void | _zbar_event_trigger (zbar_event_t *) |
int | _zbar_event_wait (zbar_event_t *, zbar_mutex_t *, zbar_timer_t *) |
typedef struct zbar_event_s zbar_event_t |
void _zbar_event_destroy | ( | zbar_event_t * | ) |
Referenced by _zbar_event_trigger(), _zbar_thread_start(), _zbar_thread_stop(), and zbar_processor_destroy().
int _zbar_event_init | ( | zbar_event_t * | ) |
Referenced by _zbar_event_trigger(), _zbar_thread_start(), and proc_waiter_queue().
void _zbar_event_trigger | ( | zbar_event_t * | ) |
References _zbar_event_destroy(), _zbar_event_init(), _zbar_event_wait(), _zbar_mutex_lock, _zbar_mutex_unlock, _zbar_thread_start(), _zbar_thread_stop(), zbar_thread_s::activity, zbar_thread_s::notify, zbar_event_s::pollfd, proc, zbar_thread_s::running, zbar_thread_s::started, zbar_event_s::state, and zbar_thread_s::tid.
Referenced by _zbar_processor_handle_input(), _zbar_processor_notify(), _zbar_processor_unlock(), _zbar_thread_stop(), vfw_capture_thread(), and zbar_processor_set_active().
int _zbar_event_wait | ( | zbar_event_t * | , |
zbar_mutex_t * | , | ||
zbar_timer_t * | |||
) |
References _zbar_mutex_lock, _zbar_mutex_unlock, _zbar_timer_check(), and proc_sleep().
Referenced by _zbar_event_trigger(), _zbar_processor_handle_input(), _zbar_processor_lock(), _zbar_processor_wait(), _zbar_thread_start(), and _zbar_thread_stop().