[Groonga-commit] groonga/groonga at a7481fe [master] hash: correspond fin order to backward init order

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Jan 30 09:46:14 JST 2018


Kouhei Sutou	2018-01-30 09:46:14 +0900 (Tue, 30 Jan 2018)

  New Revision: a7481feae203dceb390d9612c4c3d993d6a27b28
  https://github.com/groonga/groonga/commit/a7481feae203dceb390d9612c4c3d993d6a27b28

  Message:
    hash: correspond fin order to backward init order

  Modified files:
    lib/hash.c

  Modified: lib/hash.c (+1 -1)
===================================================================
--- lib/hash.c    2018-01-30 09:45:52 +0900 (833eb3725)
+++ lib/hash.c    2018-01-30 09:46:14 +0900 (cfc297506)
@@ -333,8 +333,8 @@ grn_table_queue_lock_init(grn_ctx *ctx, grn_table_queue *queue)
 static void
 grn_table_queue_lock_fin(grn_ctx *ctx, grn_table_queue *queue)
 {
-  MUTEX_FIN(queue->mutex);
   COND_FIN(queue->cond);
+  MUTEX_FIN(queue->mutex);
 }
 
 static void
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180130/4bd2805d/attachment-0001.htm 



More information about the Groonga-commit mailing list
Back to archive index