view DPP/dpp3.h @ 33:3946f8d26710 draft default tip

add benchmarck/binary-trees
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 09 Apr 2013 16:41:30 +0900
parents 6695c97470f3
children
line wrap: on
line source

#ifndef _DPP3_H_
#define _DPP3_H_
#define NULL (0)

#include "dpp_common.h"
#include "queue.h"

extern __code putdown_lfork(PhilsPtr self, TaskPtr current_task);
extern __code putdown_rfork(PhilsPtr self, TaskPtr current_task);
extern __code pickup_rfork(PhilsPtr self, TaskPtr current_task);
extern __code pickup_lfork(PhilsPtr self, TaskPtr current_task);

extern __code scheduler(PhilsPtr phils, TaskPtr list);
#endif