# HG changeset patch # User yutaka@localhost.localdomain # Date 1289135921 -32400 # Node ID 5245cf19775d8577d680fc424607e3a444429e8b # Parent 43808a098020897dd0eba3c7b433ef3810d823d5 comment remove diff -r 43808a098020 -r 5245cf19775d TaskManager/Cell/spe/CellDmaManager.cc --- a/TaskManager/Cell/spe/CellDmaManager.cc Sun Nov 07 22:11:04 2010 +0900 +++ b/TaskManager/Cell/spe/CellDmaManager.cc Sun Nov 07 22:18:41 2010 +0900 @@ -89,18 +89,9 @@ { (this->*start_dmawait_profile)(); if (0 != spu_readchcnt(SPU_WrOutMbox)) { - //if (mail_queue->empty()) { if (mail_queue->count()) { spu_write_out_mbox((uint32)data); } else { - /* - MailQueuePtr mail = mail_queue->poll(); - spu_write_out_mbox((uint32)mail->data); - mail_queue->free_(mail); - mail = mail_queue->create(); - mail->data = data; - mail_queue->addLast(mail); - */ //mail_queue から poll する spu_write_out_mbox((uint32)mail_queue->recv()); @@ -109,11 +100,6 @@ } } else { - /* - MailQueuePtr mail = mail_queue->create(); - mail->data = data; - mail_queue->addLast(mail); - */ mail_queue->send(data); @@ -127,20 +113,13 @@ (this->*start_dmawait_profile)(); - //while (!mail_queue->empty()) { while (mail_queue->count()) { - /* - MailQueuePtr mail = mail_queue->poll(); - spu_write_out_mbox((uint32)mail->data); - mail_queue->free_(mail); - */ spu_write_out_mbox((uint32)mail_queue->recv()); } spu_write_out_mbox((uint32)data); - //mail_queue.freePool(); (this->*end_dmawait_profile)(&global_mail_time); }