* End case statement **/

        }   /** End for loop **/  </pre>
      <p>
            The only other change to <code class="function">writer_thread()</code>
            is that we pass <code class="function">count_records()</code> a
            transaction handle, rather than configuring our entire
            application for uncommitted reads. Both mechanisms work well-enough
            for preventing a self-deadlock. However, the individual count
            in this example will tend to be lower than 