If you can read this text, it means you are not experiencing this website at its best. This website is designed for used with a standards-compliant browser.
Current version: 2.3.2
ZThreads
A platform-independent, multi-threading and synchronization library for C++
Home Documentation Downloads CVS Contact
PriorityCondition Class Reference

#include <PriorityCondition.h>

Inheritance diagram for PriorityCondition:
Waitable NonCopyable

Public Member Functions

 PriorityCondition (Lockable &l)
 
 ~PriorityCondition ()
 
void signal ()
 
void broadcast ()
 
virtual void wait ()
 
virtual bool wait (unsigned long timeout)
 
- Public Member Functions inherited from Waitable
virtual ~Waitable ()
 Destroy a Waitable object.

 
virtual void wait ()=0
 
virtual bool wait (unsigned long timeout)=0
 

Detailed Description

Author
Eric Crahen http://www.code-foo.com
Date
<2003-07-16T17:35:28-0400>
Version
2.2.1

A PriorityCondition is a Condition that is sensitive to thread priority.

See also
Condition

Scheduling

Threads blocked on a PriorityCondition are resumed in priority order, highest priority first

Constructor & Destructor Documentation

◆ PriorityCondition()

◆ ~PriorityCondition()

Member Function Documentation

◆ broadcast()

void broadcast ( )

◆ signal()

void signal ( )

◆ wait() [1/2]

virtual void wait ( )
virtual
See also
Condition::wait()

Implements Waitable.

◆ wait() [2/2]

virtual bool wait ( unsigned long  timeout)
virtual

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