issue #4072 Carbon loop not ready within 5 sec
added lock to all condVar 


git-svn-id: http://svn.synergy-project.org/trunk@2307 33c40d52-04ba-11de-a43f-ff96a2b7a9af