Use msvcrt aware primitives for creation/termination of Win32 threads.
[gnulib.git] / ChangeLog
index 9793c42..9723875 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,30 @@
+2008-10-12  Bruno Haible  <bruno@clisp.org>
+
+       Use msvcrt aware primitives for creation/termination of Win32 threads.
+       * lib/glthread/thread.c: Include <process.h>.
+       (glthread_create_func): Use _beginthreadex instead of CreateThread.
+       (wrapper_func): Update signature.
+       (gl_thread_exit_func): Use _endthreadex instead of EndThread.
+
+2008-10-11  Yoann Vandoorselaere  <yoann@prelude-ids.org>
+            Bruno Haible  <bruno@clisp.org>
+
+       Provide a Win32 implementation of the 'cond' module.
+       * lib/glthread/cond.h [USE_WIN32]: New implementation.
+       * lib/glthread/cond.c (glthread_cond_init_func,
+       glthread_cond_wait_func, glthread_cond_timedwait_func,
+       glthread_cond_signal_func, glthread_cond_broadcast_func,
+       glthread_cond_destroy_func) [USE_WIN32]: New functions.
+       * modules/cond (Dependencies): Add gettimeofday.
+
+2008-10-11  Bruno Haible  <bruno@clisp.org>
+
+       Make sleep work on older versions of mingw.
+       * m4/sleep.m4 (gl_FUNC_SLEEP): Test whether 'sleep' is declared, not
+       only whether it exists.
+       * doc/posix-functions/sleep.texi: Mention the problem with older
+       versions of mingw.
+
 2008-10-11  Bruno Haible  <bruno@clisp.org>
 
        New module 'shutdown'.