Mercurial > hg > Members > kono > Cerium
comparison TaskManager/Cell/SpeThreads.h @ 621:5b178db5988a
Cell fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 15 Nov 2009 03:34:18 +0900 |
parents | 7a41d2cb0a84 |
children | 8843edf37c0e |
comparison
equal
deleted
inserted
replaced
620:55ed910d13c2 | 621:5b178db5988a |
---|---|
17 SpeThreads(int num = 1); | 17 SpeThreads(int num = 1); |
18 ~SpeThreads(void); | 18 ~SpeThreads(void); |
19 | 19 |
20 /* functions */ | 20 /* functions */ |
21 void init(void); | 21 void init(void); |
22 memaddr get_mail(int speid, int count, unsigned int* ret); // BLOCKING | 22 int get_mail(int speid, int count, unsigned int* ret); // BLOCKING |
23 memaddr check_mail(int speid, int count, unsigned int* ret); // NONBLOCK | 23 int check_mail(int speid, int count, unsigned int* ret); // NONBLOCK |
24 void send_mail(int speid, int num, memaddr *data); // BLOCKING | 24 void send_mail(int speid, int num, unsigned int *data); // BLOCKING |
25 static void *spe_thread_run(void *arg); | 25 static void *spe_thread_run(void *arg); |
26 static void *frontend_thread_run(void *arg); | 26 static void *frontend_thread_run(void *arg); |
27 void add_output_tasklist(int command, unsigned int buff, int alloc_size); | 27 void add_output_tasklist(int command, unsigned int buff, int alloc_size); |
28 | 28 |
29 private: | 29 private: |