comparison src/parallel_execution/CPUWorker.cbc @ 462:8d7e5d48cad3

Running CPU examples
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Wed, 20 Dec 2017 22:05:08 +0900
parents 57c715bd6283
children ac244346c85d
comparison
equal deleted inserted replaced
461:6b71cf5b1c22 462:8d7e5d48cad3
1 #include "../context.h" 1 #include "../context.h"
2 2 #include "TaskManager.h"
3 static void startWorker(Worker* worker); 3 static void startWorker(Worker* worker);
4 4
5 Worker* createCPUWorker(struct Context* context, int id, Queue* queue) { 5 Worker* createCPUWorker(struct Context* context, int id, Queue* queue) {
6 struct Worker* worker = new Worker(); 6 struct Worker* worker = new Worker();
7 struct CPUWorker* cpuWorker = new CPUWorker(); 7 struct CPUWorker* cpuWorker = new CPUWorker();