Go to the source code of this file.
Data Structures | |
struct | TaskQueueStruct |
Typedefs | |
typedef LONG | taskq_idx |
typedef struct TaskQueueStruct * | TaskQueue |
Functions | |
static TaskQueue | TaskQueueCreate () |
static void | TaskQueuePush (TaskQueue Q, void *data) |
static void * | TaskQueuePop (TaskQueue Q) |
static void * | TaskQueueSteal (TaskQueue Q) |
Definition at line 12 of file taskqueue.h.
typedef struct TaskQueueStruct * TaskQueue |
static TaskQueue TaskQueueCreate | ( | ) | [inline, static] |
Definition at line 22 of file taskqueue.h.
References TaskQueueStruct::head, malloc(), PUP::t, and TaskQueueStruct::tail.
Referenced by CsdInit().
static void TaskQueuePush | ( | TaskQueue | Q, | |
void * | data | |||
) | [inline, static] |
Definition at line 29 of file taskqueue.h.
References TaskQueueStruct::data, and TaskQueueStruct::tail.
Referenced by StealTask().
static void* TaskQueuePop | ( | TaskQueue | Q | ) | [inline, static] |
Definition at line 35 of file taskqueue.h.
References CmiMyPe(), TaskQueueStruct::data, h, TaskQueueStruct::head, PUP::t, and TaskQueueStruct::tail.
Referenced by CsdNextMessage(), and FuncCkLoop::parallelizeFuncHybrid().
static void* TaskQueueSteal | ( | TaskQueue | Q | ) | [inline, static] |
Definition at line 62 of file taskqueue.h.
References TaskQueueStruct::data, h, TaskQueueStruct::head, PUP::t, and TaskQueueStruct::tail.
Referenced by StealTask().