Make use of the modules 'thread', 'yield' in the 'lock' test.
[pspp] / ChangeLog
index a3960f09017a7ec59d344c1d9c52295ddb4c6a06..a38a2282b34a5a7f02e5dc4a86314586aefe39dc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2008-09-30  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
+            Bruno Haible  <bruno@clisp.org>
+
+       * modules/lock-tests (Depends-on): Add thread, yield.
+       (configure.ac): Remove all checks.
+       (test_lock_LDADD): Use YIELD_LIB instead of LIBSCHED.
+       * tests/test-lock.c (gl_thread_t, gl_thread_join, gl_thread_yield,
+       gl_thread_self): Remove definitions. Include glthread/thread.h and
+       glthread/yield.h instead.
+       (test_lock, test_rwlock, test_recursive_lock, test_once): Pass an
+       additional NULL argument to gl_thread_join.
+
 2008-09-30  Bruno Haible  <bruno@clisp.org>
 
        Fix the Win32 implementation of the 'thread' module.