HyThreadMonitor Struct Reference

#include <thread_private.h>

List of all members.


Detailed Description

Fat monitor structure.

A simple combination of conditional variable and fat lock.


Public Attributes

hymutex_t mutex
 Monitor mutex.
hycond_t condition
 Monitor condition varibale.
IDATA recursion_count
 Mutex recurtion count.
hythread_t owner
 Current mutex owner.
int wait_count
 Number of threads waiting on a condition variable or queued to acquire a monitor mutex after wakeup.
int notify_count
 Number of notify events sent by the user, it is bounded by the wait_count.
IDATA thread_id
 Owner thread ID.
UDATA flags
char * name


Member Data Documentation

hymutex_t HyThreadMonitor.mutex

Monitor mutex.

hycond_t HyThreadMonitor.condition

Monitor condition varibale.

IDATA HyThreadMonitor.recursion_count

Mutex recurtion count.

hythread_t HyThreadMonitor.owner

Current mutex owner.

int HyThreadMonitor.wait_count

Number of threads waiting on a condition variable or queued to acquire a monitor mutex after wakeup.

int HyThreadMonitor.notify_count

Number of notify events sent by the user, it is bounded by the wait_count.

IDATA HyThreadMonitor.thread_id

Owner thread ID.

UDATA HyThreadMonitor.flags

char* HyThreadMonitor.name


The documentation for this struct was generated from the following file:

Genereated on Tue Mar 11 19:25:45 2008 by Doxygen.

(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.