comparison TaskManager/kernel/ppe/Threads.h @ 1185:26dea600d4cd draft

fix CellTaskManagerImpl
author Daichi TOMA <amothic@cr.ie.u-ryukyu.ac.jp>
date Thu, 07 Jul 2011 13:47:07 +0900
parents 5393bebe0956
children bd4a27ae2524
comparison
equal deleted inserted replaced
1183:8fd004a3f02c 1185:26dea600d4cd
18 //virtual void init() = 0; 18 //virtual void init() = 0;
19 virtual void init() {}; 19 virtual void init() {};
20 virtual int get_mail(int speid, int count, memaddr *ret) = 0; // BLOCKING 20 virtual int get_mail(int speid, int count, memaddr *ret) = 0; // BLOCKING
21 virtual int has_mail(int speid, int count, memaddr *ret) = 0; // NONBLOCK 21 virtual int has_mail(int speid, int count, memaddr *ret) = 0; // NONBLOCK
22 virtual void send_mail(int speid, int num, memaddr *data) = 0; // BLOCKING 22 virtual void send_mail(int speid, int num, memaddr *data) = 0; // BLOCKING
23 virtual void add_output_tasklist(int command, memaddr buff, int alloc_size) = 0;
23 24
24 /* variables */ 25 /* variables */
25 pthread_t *threads; 26 pthread_t *threads;
26 int cpu_num; 27 int cpu_num;
27 } ; 28 } ;