![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXThreadPool.h>
Public Member Functions | |
| FXQueue (FXuint sz=256) | |
| FXbool | setSize (FXuint sz) |
| FXuint | getSize () const |
| FXuint | getCount () const |
| FXuint | getHead () const |
| FXuint | getTail () const |
| FXbool | isEmpty () const |
| FXbool | isFull () const |
| FXbool | push (FXRunnable *job) |
| FXbool | pop (FXRunnable *&job) |
| ~FXQueue () | |
| FX::FXQueue::FXQueue | ( | FXuint | sz = 256 |
) |
Create queue with initial size.
| FX::FXQueue::~FXQueue | ( | ) |
Destroy queue.
| FXuint FX::FXQueue::getSize | ( | ) | const |
Return size.
| FXuint FX::FXQueue::getCount | ( | ) | const |
Return jobs.
| FXuint FX::FXQueue::getHead | ( | ) | const |
Return head.
| FXuint FX::FXQueue::getTail | ( | ) | const |
Return tail.
| FXbool FX::FXQueue::isEmpty | ( | ) | const |
Check if queue is empty.
| FXbool FX::FXQueue::isFull | ( | ) | const |
Check if queue is full.
| FXbool FX::FXQueue::push | ( | FXRunnable * | job | ) |
Add item to queue, return true if success.
| FXbool FX::FXQueue::pop | ( | FXRunnable *& | job | ) |
Remove item from queue, return true if success.
|
|