Mercurial > hg > Members > nobuyasu > CbC
view DPP/dpp_common.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 | a89b61162c29 |
children |
line wrap: on
line source
#ifndef _DPP_COMMON_H_ #define _DPP_COMMON_H_ #define NULL (0) typedef struct phils { int id; struct fork *right_fork; struct fork *left_fork; struct phils *right; struct phils *left; code (*next)(struct phils *, struct task *); } Phils, *PhilsPtr; typedef struct fork { int id; struct phils *owner; } Fork, *ForkPtr; #endif