view TaskManager/Test/test_render/task/InitKey.cc @ 467:44c0bce54dcf

fix all examples. test_render is not working now.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 01 Oct 2009 19:25:25 +0900
parents b12c1b4affc1
children 699ee087234e
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)
{
    
    void *key = smanager->global_alloc(KEY_STATUS, sizeof(key_stat));
    
    return 0;
}