More work on the diff kitten

This commit is contained in:
Kovid Goyal
2018-04-19 10:26:14 +05:30
parent 1dc83a47cf
commit d5907a1bf9
4 changed files with 59 additions and 7 deletions

View File

@@ -283,6 +283,8 @@ class Loop:
handler.on_term()
if b'i' in data:
handler.on_interrupt()
if b'1' in data:
handler.on_wakeup()
def _wakeup_write(self, val):
while not os.write(self.wakeup_write_fd, val):