Mercurial > hg > Game > Cerium
changeset 1258:ee938477af88 draft
add explanation
author | Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 19 Nov 2011 07:38:48 +0900 |
parents | 981b36f38333 |
children | 52667b4c31e0 |
files | TaskManager/kernel/schedule/SchedTask.cc |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/TaskManager/kernel/schedule/SchedTask.cc Tue Nov 15 18:01:14 2011 +0900 +++ b/TaskManager/kernel/schedule/SchedTask.cc Sat Nov 19 07:38:48 2011 +0900 @@ -97,7 +97,8 @@ run(this, readbuf, writebuf); //;TODO //ReferencedDmaManagerを使う場合ここでfreeすると、wordcountが動かない - //free(readbuf); + //wordcountのmain.ccのrun16が実行されるときに、readbufをポインタで受けてる + free(readbuf); // 書き込む領域がなければ無視