Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

RWGuardedRunnableQueue


RWGuardedRunnableQueue RWTPCValQueue<Type>

Data Type and Member Function Indexes
(exclusive of constructors and destructors)

Data Types

Member Functions

Package

Threading

Header File

#include <rw/thread/RWGuardedRunnableQueue.h> 

Description

RWGuardedRunnableQueue is a producer-consumer queue specialized for Runnables. It will only de-queue an RWRunnable if it has an associated guard that evaluates to TRUE, or if there is no associated guard. This class is used internally by RWRunnableServer. It should not, in general, be used by users of the library.

Global Typedef

typedef RWTFunctorR0<RWBoolean> RWRunnableGuard;

Constructor

RWGuardedRunnableQueue(size_t,maxEntries=0);

Public Member Functions

RWRunnable
readReadyRunnable(void);
RWRunnable 
readRunnable(void);
void 
writeRunnable(const RWRunnable& r);
void 
writeRunnable(const RWRunnable& r, const RWRunnableGuard& g);

See Also

RWRunnableServer, RWServerPool



Previous fileTop of DocumentContentsIndexNext file

©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.