spin wait to sync fix
spin wait to sync fix

Change spin waiting on an int into looping until a sync int gets above a value.
Another thread bumps the value a few times to get it high enough.


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

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