view Renderer/Engine/show_time.cc @ 761:c0a8af52fa43 draft

add lights
author yutaka@henri.cr.ie.u-ryukyu.ac.jp
date Sat, 06 Feb 2010 03:02:48 +0900
parents 184d6d3f0cd9
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;
    }
    */
}