Mercurial > hg > Members > kono > Cerium
view Renderer/Engine/show_time.cc @ 760:24a37fe8419a
first of all commit, not work Rendering/Test/create_task
author | hiroki |
---|---|
date | Thu, 04 Feb 2010 14:46:09 +0900 |
parents | 4e44147d78ee |
children |
line wrap: on
line source
#include <stdio.h> #include "TaskManager.h" #include "Func.h" void show_time() { /* HTaskPtr show; HTaskPtr pre_show; */ /* show = manager->create_task(ShowTime); show->set_cpu(SPE_0); show->spawn(); printf("testですよ\n"); */ /* pre_show = manager->create_task(ShowTime); pre_show->set_cpu((CPU_TYPE)((int)SPE_0)); pre_show->spawn(); for (int i = 1; i < 6; i++) { show = manager->create_task(ShowTime); show->set_cpu((CPU_TYPE)((int)SPE_0 + i)); show->wait_for(pre_show); show->spawn(); pre_show = show; } */ }