src/w32proc.c (start_timer_thread): Pass a non-NULL pointer as last
argument to CreateThread. This avoids segfaults on Windows 9X.
Reported by oslsachem <oslsachem@gmail.com>.
+2014-02-13 Eli Zaretskii <eliz@gnu.org>
+
+ * w32proc.c (start_timer_thread): Pass a non-NULL pointer as last
+ argument to CreateThread. This avoids segfaults on Windows 9X.
+ Reported by oslsachem <oslsachem@gmail.com>.
+
2014-02-13 Paul Eggert <eggert@cs.ucla.edu>
Fix subspace record bug on HP-UX 10.20 (Bug#16717).
static int
start_timer_thread (int which)
{
- DWORD exit_code;
+ DWORD exit_code, tid;
HANDLE th;
struct itimer_data *itimer =
(which == ITIMER_REAL) ? &real_itimer : &prof_itimer;
the way of threads we start to wait for subprocesses. See also
new_child below. */
itimer->timer_thread = CreateThread (NULL, 64 * 1024, timer_loop,
- (void *)itimer, 0x00010000, NULL);
+ (void *)itimer, 0x00010000, &tid);
if (!itimer->timer_thread)
{