send can fail silently when sending would block (EWOULDBLOCK return for send) (#18)
* try to use a pipe for communication * flush send buffer on the background thread * cleanup * linux fix / linux still use event fd for now * cleanup
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							d6597d9f52
						
					
				
				
					commit
					2750df8aa7
				
			@@ -77,6 +77,8 @@ shutil.copy(os.path.join(
 | 
			
		||||
    'bin',
 | 
			
		||||
    'zlib.dll'), '.')
 | 
			
		||||
 | 
			
		||||
testCommand = '{} {}'.format(testBinary, os.getenv('TEST', ''))
 | 
			
		||||
lldb = "lldb --batch -o 'run' -k 'thread backtrace all' -k 'quit 1'"
 | 
			
		||||
lldb = ""  # Disabled for now
 | 
			
		||||
testCommand = '{} {} {}'.format(lldb, testBinary, os.getenv('TEST', ''))
 | 
			
		||||
ret = os.system(testCommand)
 | 
			
		||||
assert ret == 0, 'Test command failed'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user