Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXSemaQueue Class Reference

Semaphore protected queue. More...

#include <FXSemaQueue.h>

Inheritance diagram for FX::FXSemaQueue:
FX::FXSemaQueueOf< TYPE >

List of all members.

Public Member Functions

 FXSemaQueue (FXuint sz=32)
 Create initially empty queue.
FXbool trypush (FXptr obj)
 Try push object into queue.
FXbool push (FXptr ptr)
 Add item to queue, return true if success.
FXbool trypop (FXptr &obj)
 Try pop object from queue.
FXbool pop (FXptr &ptr)
 Remove item from queue, return true if success.
FXbool pop ()
 Drop item from queue, return true if success.
 ~FXSemaQueue ()
 Destroy queue.

Detailed Description

Semaphore protected queue.


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

Copyright © 1997-2016 Jeroen van der Zijp