<p>The tests passes with only one lock_guard. Strange result is that 1 processes is faster that 2 or 4 in that case (this time bulgaria-latest.osm.pbf was used). Time of processing pending ways increases from 34 to 43 s (1->2 processes).</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/osm2pgsql/pull/498#issuecomment-155544809">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AD2-7nFK6dd6pZx0pKcNpFtYUkCKORcMks5pEkBTgaJpZM4GeIs1.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/openstreetmap/osm2pgsql/pull/498#issuecomment-155544809"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>