Pristine Ack-5.5
[Ack-5.5.git] / h / ocm_parco.h
1 /* $Id: ocm_parco.h,v 1.4 1994/06/24 10:08:33 ceriel Exp $ */
2 /*
3  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
4  * See the copyright notice in the ACK home directory, in the file "Copyright".
5  */
6 /*      parco.h - Define names for simulation routines
7  *
8  *      This file is to be included by users of the higher-level routines
9  *
10  */
11
12 void pc_begin(), resumenext(), parend(), resume(), coend();
13 int pc_fork();
14
15 #define nullid  ((int *) 0 - (int *) 0)
16         /* I.e. a 0 of type "pointer difference" */
17
18 #define parbegin(sbrk)          pc_begin(sbrk, nullid)
19 #define parfork()               pc_fork(nullid)
20 #define cobegin(sbrk, id)       pc_begin(sbrk, id)
21 #define cofork(id)              pc_fork(id)
22
23 extern int deadlock;