A
Alexander Kotelnikov
Hello.
I faced the same problem which arose before
Message-ID: <[email protected]>
http://groups.google.com/group/comp...daa3/4fecba3342fe8d09?tvc=2&q=STL+map+threads
In short: can't gain any use of second, third etc processors when
std::map is used concurrently in multiple threads.
None of advices from that one year old thread (hoard,
GLIBCPP_FORCE_NEW, GLIBCXX_FORCE_NEW) help. I tried g++ 3.3, 3.4 and
4.1, also tried stlport instead of gcc's SGI-derived STL. All
experiments showed more or less poor results.
Is there a good way to run a multi-threaded program using stl::map on
SMP machine?
BTW I tested mostly on Linux and a bit on Solaris/SPARC with g++ 3.4
and 4.0 with SGI STL only.
Thanks,
I faced the same problem which arose before
Message-ID: <[email protected]>
http://groups.google.com/group/comp...daa3/4fecba3342fe8d09?tvc=2&q=STL+map+threads
In short: can't gain any use of second, third etc processors when
std::map is used concurrently in multiple threads.
None of advices from that one year old thread (hoard,
GLIBCPP_FORCE_NEW, GLIBCXX_FORCE_NEW) help. I tried g++ 3.3, 3.4 and
4.1, also tried stlport instead of gcc's SGI-derived STL. All
experiments showed more or less poor results.
Is there a good way to run a multi-threaded program using stl::map on
SMP machine?
BTW I tested mostly on Linux and a bit on Solaris/SPARC with g++ 3.4
and 4.0 with SGI STL only.
Thanks,