ack/h/ocm_parco.h
1987-02-26 09:55:46 +00:00

19 lines
477 B
C

/* parco.h - Define names for simulation routines
*
* This file is to be included by users of the higher-level routines
*
*/
void pc_begin(), resumenext(), parend(), resume(), coend();
int pc_fork();
#define nullid ((int *) 0 - (int *) 0)
/* I.e. a 0 of type "pointer difference" */
#define parbegin(sbrk) pc_begin(sbrk, nullid)
#define parfork() pc_fork(nullid)
#define cobegin(sbrk, id) pc_begin(sbrk, id)
#define cofork(id) pc_fork(id)
extern int deadlock;