ack/lang/occam/lib/ocm_parco.h
1987-03-31 11:09:18 +00:00

20 lines
492 B
C

/* $Header$ */
/* 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;