ticket:10051 Mutexes and atomic ops, work in progress.

git-svn-id: http://source.icu-project.org/repos/icu/icu/branches/andy@33656 251d0590-4201-4cf1-90de-194747b24ca1