view ppe/PadFree.cc @ 25:aa37f220b7a8

add new files, not working.
author koba <koba@cr.ie.u-ryukyu.ac.jp>
date Wed, 24 Nov 2010 19:24:43 +0900
parents
children 34fde39c0a31
line wrap: on
line source

#include <stdio.h>
#include <string.h>
#include "PadFree.h"
#include "Func.h"

/* これは必須 */
SchedDefineTask(PadFree);

static int
run(SchedTask *s, void *rbuf, void *wbuf)
{

    int pad_id = (int)s->get_param(0);

    s->global_free(pad_id);

    return 0;
}