changeset 1023:5245cf19775d

comment remove
author yutaka@localhost.localdomain
date Sun, 07 Nov 2010 22:18:41 +0900
parents 43808a098020
children 19a57960c436
files TaskManager/Cell/spe/CellDmaManager.cc
diffstat 1 files changed, 0 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- 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);
 }