view dpp2.h @ 7:171cc032eb29

Fix tableau2
author Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
date Fri, 25 Dec 2015 18:31:20 +0900
parents 4a68716b7488
children
line wrap: on
line source

#ifndef _DPP2_H_
#define _DPP2_H_

#include "dpp_common.h"

extern __code putdown_lfork(PhilsPtr self, TaskPtr current_task);
extern __code putdown_rfork(PhilsPtr self, TaskPtr current_task);
extern __code eating(PhilsPtr self, TaskPtr current_task);
extern __code hungry2(PhilsPtr self, TaskPtr current_task);
extern __code hungry1(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 thinking(PhilsPtr self, TaskPtr current_task);
extern __code die(char *err);
extern __code init_fork2(PhilsPtr self, int count, int id);

#endif