Mercurial > hg > Members > kono > Cerium
comparison TaskManager/Cell/SpeThreads.cc @ 647:7c9ded1ea750
MailManager rewrite. not yet worked.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 21 Nov 2009 16:18:47 +0900 |
parents | 8843edf37c0e |
children | 31d0a5baafdf |
comparison
equal
deleted
inserted
replaced
646:ffcc25c7c566 | 647:7c9ded1ea750 |
---|---|
117 // only used in CellTaskManagerImpl (should be removed?) | 117 // only used in CellTaskManagerImpl (should be removed?) |
118 return spe_out_mbox_read(spe_ctx[speid], (unsigned int*)ret, count*(sizeof(memaddr)/sizeof(int))); | 118 return spe_out_mbox_read(spe_ctx[speid], (unsigned int*)ret, count*(sizeof(memaddr)/sizeof(int))); |
119 } | 119 } |
120 | 120 |
121 int | 121 int |
122 SpeThreads::check_mail(int speid, int count, memaddr *ret) | 122 SpeThreads::has_mail(int speid, int count, memaddr *ret) |
123 { | 123 { |
124 /* | 124 /* |
125 * spe_out_mbox_status return only 1, waiting for multiple length | 125 * spe_out_mbox_status return only 1, waiting for multiple length |
126 * does not work. | 126 * does not work. |
127 */ | 127 */ |