/a>
<a class="sourceLine" id="cb1-7" title="7">        ++num_keys[<span class="dv">0</span>];</a>
<a class="sourceLine" id="cb1-8" title="8">    }</a>
<a class="sourceLine" id="cb1-9" title="9">}</a></code></pre></div>
<p>and here is the code for the multi-threaded insert:</p>
<div class="sourceCode" id="cb2"><pre class="sourceCode c++"><code class="sourceCode cpp"><a class="sourceLine" id="cb2-1" title="1"><span class="kw">template</span> &lt;<span class="kw">class</span> HT&gt;</a>
<a class="sourceLine" i