<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <dl style="line-height: 1.5; margin-left: 2em">
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
      <dd style="margin-left: 8.5em">Kouhei Sutou &lt;kou****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2013-06-14 15:09:08 +0900 (Fri, 14 Jun 2013)</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
      <dd style="margin-left: 8.5em"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff">02ebf8577dde199355190623ee8727677b96a5ff</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
      <dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Add grn_array_unblock()

It unblocks rb_array_pull().</pre></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#diff-0">include/groonga.h</a></li>
          <li><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#diff-1">lib/hash.c</a></li>
          <li><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#diff-2">lib/hash.h</a></li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: include/groonga.h (+1 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L0L2843">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L0L2844">2844</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L0L2845">2845</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L0L2846">2846</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L0L2847">2847</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L0L2848">2848</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L0L2849">2849</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L0R2843">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L0R2844">2844</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L0R2845">2845</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L0R2846">2846</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L0R2847">2847</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L0R2848">2848</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L0R2849">2849</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L0R2850">2850</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -2844,6 +2844,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">GRN_API grn_id grn_array_pull(grn_ctx *ctx, grn_array *array, grn_bool blockp,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">                               void (*func)(grn_ctx *ctx, grn_array *array,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                                            grn_id id, void *func_arg),</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                               void *func_arg);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+GRN_API void grn_array_unblock(grn_ctx *ctx, grn_array *array);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> GRN_API int grn_array_get_value(grn_ctx *ctx, grn_array *array, grn_id id, void *valuebuf);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> GRN_API grn_rc grn_array_set_value(grn_ctx *ctx, grn_array *array, grn_id id,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                                    const void *value, int flags);</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: lib/hash.c (+15 -1)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L335">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L336">336</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L337">337</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L338">338</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L339">339</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L340">340</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L341">341</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L1129">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L1130">1130</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L1131">1131</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L1132">1132</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L1133">1133</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L1134">1134</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L1135">1135</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L1136">1136</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L1137">1137</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L1149">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L1150">1150</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L1151">1151</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L1152">1152</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L1153">1153</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L1154">1154</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1L1155">1155</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R335">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R336">336</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R337">337</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R338">338</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R339">339</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R340">340</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R341">341</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R342">342</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1130">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1131">1131</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1132">1132</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1133">1133</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1134">1134</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1135">1135</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1136">1136</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1137">1137</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1138">1138</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1139">1139</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1151">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1152">1152</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1153">1153</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1154">1154</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1155">1155</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1156">1156</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1157">1157</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1158">1158</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1159">1159</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1160">1160</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1161">1161</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1162">1162</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1163">1163</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1164">1164</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1165">1165</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1166">1166</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1167">1167</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1168">1168</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L1R1169">1169</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -336,6 +336,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_table_queue_init(grn_ctx *ctx, grn_table_queue *queue)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   queue-&gt;head = 0;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   queue-&gt;tail = 0;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   queue-&gt;cap = GRN_ARRAY_MAX;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  queue-&gt;unblock_requested = GRN_FALSE;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   grn_table_queue_lock_init(ctx, queue);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -1130,8 +1131,9 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_array_pull(grn_ctx *ctx, grn_array *array, grn_bool blockp,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   grn_table_queue *queue = grn_array_queue(ctx, array);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   if (queue) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     MUTEX_LOCK(queue-&gt;mutex);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    queue-&gt;unblock_requested = GRN_FALSE;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     while (grn_table_queue_size(queue) == 0) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-      if (!blockp) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      if (!blockp || queue-&gt;unblock_requested) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         MUTEX_UNLOCK(queue-&gt;mutex);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         GRN_OUTPUT_BOOL(0);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         return id;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -1150,6 +1152,18 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_array_pull(grn_ctx *ctx, grn_array *array, grn_bool blockp,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   return id;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+void</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+grn_array_unblock(grn_ctx *ctx, grn_array *array)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+{</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  grn_table_queue *queue = grn_array_queue(ctx, array);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  if (!queue) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    return;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  }</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  queue-&gt;unblock_requested = GRN_TRUE;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  COND_BROADCAST(queue-&gt;cond);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+}</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> /* grn_hash : hash table */</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #define GRN_HASH_MAX_SEGMENT  0x400</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: lib/hash.h (+1 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L2L176">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L2L177">177</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L2L178">178</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L2L179">179</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L2L180">180</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L2L181">181</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L2L182">182</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L2R176">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L2R177">177</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L2R178">178</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L2R179">179</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L2R180">180</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L2R181">181</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L2R182">182</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/02ebf8577dde199355190623ee8727677b96a5ff#L2R183">183</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -177,6 +177,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">struct _grn_table_queue {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   grn_id head;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   grn_id tail;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   grn_id cap;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  grn_bool unblock_requested;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> };</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> GRN_API void grn_array_queue_lock_clear(grn_ctx *ctx, grn_array *array);</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>