Commit bd87214f authored by fogal1's avatar fogal1

Wrap in ifdef parallel.

Ensures that only parallel engines will get caught by this.
Otherwise, components like the viewer could lock here, which can
get pretty annoying.

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@7998 18c085ea-50e0-402c-830e-de6fd14e8384
parent e55527b8
......@@ -255,11 +255,17 @@ PAR_UIProcess(void)
// Programmer: Tom Fogal
// Creation: October 17, 2008
//
// Modifications:
//
// Tom Fogal, Wed Jun 10 15:55:35 MDT 2009
// Wrap in ifdef parallel.
//
// ****************************************************************************
void
PAR_WaitForDebugger(void)
{
#ifdef PARALLEL
volatile int i = 0;
if(PAR_Rank() == 0)
{
......@@ -268,6 +274,7 @@ PAR_WaitForDebugger(void)
} while(i == 0);
}
Barrier();
#endif
}
// ****************************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment