Optimized thread usage in CC. Reduced sizes of critical sections in PartitionCollector

git-svn-id: https://hyracks.googlecode.com/svn/branches/hyracks_dev_next@1067 123451ca-8445-de46-9d55-352943316053
6 files changed