ack/h/ocm_parco.h

24 lines
652 B
C
Raw Permalink Normal View History

1994-06-24 11:31:16 +00:00
/* $Id$ */
1987-03-09 21:20:21 +00:00
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
1987-02-26 09:55:46 +00:00
/* 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;