view TaskManager/Test/test_render/task/InitKey.cc @ 472:699ee087234e

fix spe test_render
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 02 Oct 2009 23:20:25 +0900
parents 44c0bce54dcf
children
line wrap: on
line source

#include <stdlib.h>
#include <string.h>
#include "InitKey.h"
#include "Func.h"
#include "global_alloc.h"
#include "KeyStat.h"

SchedDefineTask(InitKey);

static int
run(SchedTask *smanager, void *rbuf , void *wbuf)
{
    
    smanager->global_alloc(KEY_STATUS, sizeof(key_stat));
    
    return 0;
}