|
NVBIO
|
Work queue class.
#include <threads.h>
Public Types | |
| typedef WorkItemT | WorkItem |
| typedef ProgressCallbackT | ProgressCallback |
Public Methods | |
| WorkQueue () | |
| empty constructor More... | |
| void | push (const WorkItem work) |
| push a work item in the queue More... | |
| void | locked_push (const WorkItem work) |
| push a work item in the queue More... | |
| bool | pop (WorkItem &work) |
| pop the next work item from the queue More... | |
| void | set_callback (const ProgressCallback callback) |
| set a callback More... | |
| typedef ProgressCallbackT nvbio::WorkQueue< WorkItemT, ProgressCallbackT >::ProgressCallback |
| typedef WorkItemT nvbio::WorkQueue< WorkItemT, ProgressCallbackT >::WorkItem |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
1.8.4