[Groonga-commit] groonga/groonga [master] [test] use return instead of g_thread_exit().

Back to archive index

null+****@clear***** null+****@clear*****
2012年 1月 12日 (木) 16:11:12 JST


Kouhei Sutou	2012-01-12 16:11:12 +0900 (Thu, 12 Jan 2012)

  New Revision: 6cf78d339c4e7e65570988530d46060992aa2afa

  Log:
    [test] use return instead of g_thread_exit().

  Modified files:
    test/unit/core/dat/test-trie.cpp

  Modified: test/unit/core/dat/test-trie.cpp (+2 -2)
===================================================================
--- test/unit/core/dat/test-trie.cpp    2012-01-12 10:17:44 +0900 (ecba235)
+++ test/unit/core/dat/test-trie.cpp    2012-01-12 16:11:12 +0900 (944f178)
@@ -1,6 +1,6 @@
 /* -*- c-basic-offset: 2; coding: utf-8 -*- */
 /*
-  Copyright (C) 2011  Brazil
+  Copyright (C) 2011-2012  Brazil
 
   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
@@ -523,7 +523,7 @@ namespace test_dat_trie
     } catch (...) {
       cut_fail("sub_test_multi_threaded_random_queries() failed.");
     }
-    g_thread_exit(NULL);
+    return NULL;
   }
 
   void test_multi_threaded_random_queries(void)




Groonga-commit メーリングリストの案内
Back to archive index