VTK-m
2.0
|
#include <TaskQueue.h>
Public Member Functions | |
TaskQueue ()=default | |
void | Push (T &&item) |
bool | HasTasks () |
bool | GetTask (T &item) |
T | Pop () |
Protected Member Functions | |
vtkm::Id | Length () |
Private Member Functions | |
TaskQueue (const TaskQueue &rhs)=delete | |
TaskQueue & | operator= (const TaskQueue &rhs)=delete |
TaskQueue (TaskQueue &&rhs)=delete | |
TaskQueue & | operator= (TaskQueue &&rhs)=delete |
Private Attributes | |
std::mutex | Lock |
std::queue< T > | Queue |
|
default |
|
privatedelete |
|
privatedelete |
|
inline |
|
inline |
|
inlineprotected |
|
privatedelete |
|
privatedelete |
|
inline |
|
inline |
|
private |
|
private |