My program fails to utilize all the CPUs on multiproccessor machine.
I suspect that the reason is that memory allocation in different threads
wait on the same mutex, since all the threads share the same heap. The
problem grows larger as number of CPUs increased ( the target is
Am I right in my suspicion? How this problems could be solved?
We use Workshop C++ 5.0, Solaris 7 and pthreads.