Add on clauses to the autoCopy() routines for distributions, domains, and arrays to avoid potential deadlock scenario when maxThreads is less than or equal to the number of locales.
Add on clauses to the autoCopy() routines for distributions, domains,
and arrays to avoid potential deadlock scenario when maxThreads is
less than or equal to the number of locales.

The on clause guarantees that if the readFE() is executed by a thread,
there will be a thread (the *same* thread) to execute the
corresponding writeEF().



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

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