Fixed test to use sync variables to synchronize rather than busy loops.  Busy loops of this sort are not supported by the pthreads model that we currently rely on.  I found another rogue process for this test on chap05 which motivated this change.
Fixed test to use sync variables to synchronize rather than busy loops.  Busy
loops of this sort are not supported by the pthreads model that we currently
rely on.  I found another rogue process for this test on chap05 which motivated
this change.


git-svn-id: 88467cb1fb04b8a755be7e1ee1026be4190196ef@13503 3a8e244f-b0f2-452b-bcba-4c88e055c3ca

hildeth/chapel,sungeunchoi/chapel,hildeth/chapel,CoryMcCartan/chapel,CoryMcCartan/chapel,CoryMcCartan/chapel,chizarlicious/chapel,chizarlicious/chapel,sungeunchoi/chapel,sungeunchoi/chapel,chizarlicious/chapel,hildeth/chapel,chizarlicious/chapel,hildeth/chapel,CoryMcCartan/chapel,hildeth/chapel,hildeth/chapel,sungeunchoi/chapel,sungeunchoi/chapel,chizarlicious/chapel,sungeunchoi/chapel,CoryMcCartan/chapel,chizarlicious/chapel,sungeunchoi/chapel,sungeunchoi/chapel,hildeth/chapel,CoryMcCartan/chapel,chizarlicious/chapel,CoryMcCartan/chapel