Mercurial > hg > Game > Cerium
comparison TaskManager/Gpu/GpuThreads.cc @ 1641:289378e5abf8 draft
add print flag
author | Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 18 Jun 2013 18:52:42 +0900 |
parents | 93569219173e |
children | f73ca57cdc81 |
comparison
equal
deleted
inserted
replaced
1640:30c1f43493db | 1641:289378e5abf8 |
---|---|
54 g_scheduler->finish(); | 54 g_scheduler->finish(); |
55 | 55 |
56 return NULL; | 56 return NULL; |
57 } | 57 } |
58 | 58 |
59 void | 59 int |
60 GpuThreads::spawn_task(int id, TaskListPtr p) { | 60 GpuThreads::spawn_task(int id, TaskListPtr p) { |
61 send_mail(id, 1, (memaddr*)p); | 61 send_mail(id, 1, (memaddr*)p); |
62 return 0; | |
62 } | 63 } |
63 | 64 |
64 int | 65 int |
65 GpuThreads::get_mail(int speid, int count, memaddr *ret) | 66 GpuThreads::get_mail(int speid, int count, memaddr *ret) |
66 { | 67 { |