From 8d817baf4b85760070c4b9a9b60825ee1ed4cfc6 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Sun, 6 Feb 2005 18:45:15 -0500 Subject: [svn-r9947] Purpose: Feature Description: Added a new function, phdiff_dismiss_workers, which tells the phdiff worker processes to end. Platforms tested: Tested in heping, serial and parallel. Misc. update: --- tools/lib/h5diff.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c index 39be45b..bfeb35b 100644 --- a/tools/lib/h5diff.c +++ b/tools/lib/h5diff.c @@ -892,3 +892,27 @@ out: return nfound; } + + +#ifdef H5_HAVE_PARALLEL +/*------------------------------------------------------------------------- + * Function: phdiff_dismiss_workers + * + * Purpose: tell all workers to end. + * + * Return: none + * + * Programmer: Albert Cheng + * + * Date: Feb 6, 2005 + * + *------------------------------------------------------------------------- + */ +void phdiff_dismiss_workers(void) +{ + int i; + + for(i=1; i