* 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> | 2014-05-23  Corinna Vinschen  <corinna@vinschen.de> | ||||||
| 
 | 
 | ||||||
| 	* autoload.cc (ldap_memfreeW): Remove. | 	* autoload.cc (ldap_memfreeW): Remove. | ||||||
|  |  | ||||||
|  | @ -66,8 +66,9 @@ timer_tracker::cancel () | ||||||
|     return false; |     return false; | ||||||
| 
 | 
 | ||||||
|   SetEvent (hcancel); |   SetEvent (hcancel); | ||||||
|   if (WaitForSingleObject (syncthread, INFINITE) != WAIT_OBJECT_0) |   DWORD res = WaitForSingleObject (syncthread, INFINITE); | ||||||
|     api_fatal ("WFSO failed waiting for timer thread, %E"); |   if (res != WAIT_OBJECT_0) | ||||||
|  |     system_printf ("WFSO returned unexpected value %u, %E", res); | ||||||
|   return true; |   return true; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue