comparison src/parallel_execution/context.h @ 388:8940d1451a0d

handle local continuation
author masataka
date Sat, 29 Jul 2017 19:08:25 +0900
parents 300c18700ca5
children 36964b9ac5fd
comparison
equal deleted inserted replaced
387:590f03af1a2c 388:8940d1451a0d
138 int gpu; 138 int gpu;
139 int io; 139 int io;
140 int maxCPU; 140 int maxCPU;
141 } TaskManager; 141 } TaskManager;
142 struct TaskManagerImpl { 142 struct TaskManagerImpl {
143 enum Code next;
143 int numWorker; 144 int numWorker;
144 int sendWorkerIndex; 145 int sendWorkerIndex;
145 pthread_mutex_t mutex; 146 pthread_mutex_t mutex;
146 struct Queue* activeQueue; 147 struct Queue* activeQueue;
147 struct Queue* taskQueue; 148 struct Queue* taskQueue;