1 /* $Id: ocm_parco.h,v 1.4 1994/06/24 10:08:33 ceriel Exp $ */
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".
6 /* parco.h - Define names for simulation routines
8 * This file is to be included by users of the higher-level routines
12 void pc_begin(), resumenext(), parend(), resume(), coend();
15 #define nullid ((int *) 0 - (int *) 0)
16 /* I.e. a 0 of type "pointer difference" */
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)