Enable thread support in the MS-Windows build.
commitdbe17fefccbff010bbbf6c4d0dccc7b2f3a5e201
authorEli Zaretskii <eliz@gnu.org>
Fri, 30 Aug 2013 14:19:16 +0000 (30 17:19 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 30 Aug 2013 14:19:16 +0000 (30 17:19 +0300)
treed6844a441dc78f6a18610e9f88d82e0c8f12f6db
parent0e82377a2d9d8f815d2ef4ec09dc914f37fc87ac
Enable thread support in the MS-Windows build.

 src/systhread.h (w32thread_critsect, w32thread_cond_t, sys_mutex_t)
 (sys_cond_t, sys_thread_t) [WINDOWSNT]: New data types.
 src/systhread.c (sys_mutex_init, sys_mutex_lock, sys_mutex_unlock)
 (sys_mutex_destroy, sys_cond_init, sys_cond_wait)
 (sys_cond_signal, sys_cond_broadcast, sys_cond_destroy)
 (sys_thread_self, sys_thread_equal, w32_beginthread_wrapper)
 (sys_thread_create, sys_thread_yield) [WINDOWSNT]: New functions.

 configure.ac (THREADS_ENABLED): Enable threads for MinGW, even
 if pthreads is not available.
ChangeLog
configure.ac
src/ChangeLog
src/systhread.c
src/systhread.h