More debugging
This commit is contained in:
		
							parent
							
								
									1eb0af7ed5
								
							
						
					
					
						commit
						24c6d992c6
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -31,6 +31,7 @@ public:
 | 
				
			||||||
                assert(quit);
 | 
					                assert(quit);
 | 
				
			||||||
                return; // destructor is asking us to exit
 | 
					                return; // destructor is asking us to exit
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					            fprintf(stderr, "GOT: %d\n", fds[0].revents);
 | 
				
			||||||
            assert(fds[0].revents & POLLHUP);
 | 
					            assert(fds[0].revents & POLLHUP);
 | 
				
			||||||
            /* We got POLLHUP, so send an INT signal to the main thread. */
 | 
					            /* We got POLLHUP, so send an INT signal to the main thread. */
 | 
				
			||||||
            kill(getpid(), SIGINT);
 | 
					            kill(getpid(), SIGINT);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue