Temporary fix to serialize write/writeln's so that we get fewer cases of nondeterministic output. Basically, use a sync bool as a lock to writes to stdout.  A slightly more elegant solution requires a small fix to sync vars.
Temporary fix to serialize write/writeln's so that we get fewer cases of
nondeterministic output. Basically, use a sync bool as a lock to
writes to stdout.  A slightly more elegant solution requires a small fix
to sync vars.


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

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