|
|
| FXSemaQueueOf (FXival sz=32) |
| | Create initially empty queue of given size sz.
|
| |
|
FXbool | push (TYPE *obj) |
| | Add item to queue, return true if success.
|
| |
|
FXbool | trypush (TYPE *obj) |
| | Try push object into queue, return true if success.
|
| |
|
FXbool | trypush (TYPE *obj, FXTime nsec) |
| | Try push object into queue, return true if success.
|
| |
|
FXbool | pop (TYPE *&obj) |
| | Drop item from queue, return true if success.
|
| |
|
FXbool | trypop (TYPE *&obj) |
| | Try pop object from queue, return true if success.
|
| |
|
FXbool | trypop (TYPE *&obj, FXTime nsec) |
| | Try pop object from queue, return true if success.
|
| |
|
| FXSemaQueue (FXival sz=32) |
| | Create initially empty queue of given size sz.
|
| |
|
FXival | getSize () const |
| | Return size.
|
| |
|
FXbool | push (FXptr ptr) |
| | Add item to queue, return true if success.
|
| |
|
FXbool | trypush (FXptr obj) |
| | Try push object into queue.
|
| |
| FXbool | trypush (FXptr obj, FXTime nsec) |
| | Try push object into queue, waiting up to nsec for space to become available. More...
|
| |
|
FXbool | pop (FXptr &ptr) |
| | Remove item from queue, return true if success.
|
| |
|
FXbool | trypop (FXptr &obj) |
| | Try pop object from queue.
|
| |
| FXbool | trypop (FXptr &obj, FXTime nsec) |
| | Try pop object from queue, waiting up to nsec for object to become available. More...
|
| |
|
FXbool | pop () |
| | Drop item from queue, return true if success.
|
| |
|
| ~FXSemaQueue () |
| | Destroy queue.
|
| |