mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 15:43:01 +00:00 
			
		
		
		
	Ignore IOCP where the event failed to deque.
This commit is contained in:
		| @@ -1535,7 +1535,11 @@ void janet_loop1_impl(int has_timeout, JanetTimestamp to) { | ||||
|     } | ||||
|     BOOL result = GetQueuedCompletionStatus(janet_vm.iocp, &num_bytes_transfered, &completionKey, &overlapped, (DWORD) waittime); | ||||
|  | ||||
|     if (result || overlapped) { | ||||
|     if (!result) { | ||||
|         return; | ||||
|     } | ||||
|  | ||||
|     if (overlapped) { | ||||
|         if (0 == completionKey) { | ||||
|             /* Custom event */ | ||||
|             JanetSelfPipeEvent *response = (JanetSelfPipeEvent *)(overlapped); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose