<div class="gmail_quote">On Tue, Nov 30, 2010 at 4:38 PM, Simon Adler <span dir="ltr">&lt;<a href="mailto:boost@cg-effects.de">boost@cg-effects.de</a>&gt;</span> wrote:<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
If I use all threads all four cpus are in 100% usage - they are all together working but require more<br><div class="gmail_quote">

than twice the time - Yes i am sure that every thread is just working on 2500 Elements. <br></div></blockquote><div><br>Hmm, are you sure of that because the different threads are all producing log output, perhaps to std::cout?<br>
<br>I wonder if there&#39;s some unobvious shared resource (such as an ostream) that&#39;s being properly locked against concurrent access, but the locking is inducing the delay you&#39;re observing.<br></div></div>

