until _after_ its first read, we should not start by signalling that
object in order to trigger the first read. Ahem.
[originally from svn r6799]
h->u.i.ev_to_main = CreateEvent(NULL, FALSE, FALSE, NULL);
h->u.i.ev_from_main = CreateEvent(NULL, FALSE, FALSE, NULL);
h->u.i.gotdata = gotdata;
- h->u.i.busy = FALSE;
h->u.i.defunct = FALSE;
h->u.i.moribund = FALSE;
h->u.i.done = FALSE;
CreateThread(NULL, 0, handle_input_threadfunc,
&h->u.i, 0, NULL);
-
- handle_throttle(&h->u.i, 0); /* start first read operation */
+ h->u.i.busy = TRUE;
return h;
}