* timer.cc (timer_tracker::cancel): Demote api_fatal to system_printf, printing
more details about odd failure condition.
This commit is contained in:
parent
f9f90410fd
commit
4d79de90e1
|
@ -1,3 +1,8 @@
|
|||
2014-06-05 Christopher Faylor <me.cygwin2014@cgf.cx>
|
||||
|
||||
* timer.cc (timer_tracker::cancel): Demote api_fatal to system_printf,
|
||||
printing more details about odd failure condition.
|
||||
|
||||
2014-05-23 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* autoload.cc (ldap_memfreeW): Remove.
|
||||
|
|
|
@ -66,8 +66,9 @@ timer_tracker::cancel ()
|
|||
return false;
|
||||
|
||||
SetEvent (hcancel);
|
||||
if (WaitForSingleObject (syncthread, INFINITE) != WAIT_OBJECT_0)
|
||||
api_fatal ("WFSO failed waiting for timer thread, %E");
|
||||
DWORD res = WaitForSingleObject (syncthread, INFINITE);
|
||||
if (res != WAIT_OBJECT_0)
|
||||
system_printf ("WFSO returned unexpected value %u, %E", res);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue