4 * This source code is part of
8 * GROningen MAchine for Chemical Simulations
12 * Copyright (c) 1991-1999
13 * BIOSON Research Institute, Dept. of Biophysical Chemistry
14 * University of Groningen, The Netherlands
17 * GROMACS: A message-passing parallel molecular dynamics implementation
18 * H.J.C. Berendsen, D. van der Spoel and R. van Drunen
19 * Comp. Phys. Comm. 91, 43-56 (1995)
21 * Also check out our WWW page:
22 * http://md.chem.rug.nl/~gmx
27 * Green Red Orange Magenta Azure Cyan Skyblue
33 static char *SRCID_sync_h
= "$Id$";
36 #ident "@(#) sync.h 1.9 11/23/92"
37 #endif /* HAVE_IDENT */
39 #define SYNC_AVAILABLE 1234
40 #define SYNC_DONE 4321
42 extern void sync_open();
44 * Initialises the synchronisation primimtives by creating the
47 extern void sync_close();
49 * Removes the uses semaphores from the system.
51 extern void sync_available();
53 * Wait until data is available.
55 extern void sync_done();
57 * Signal data is handled.