mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-25 10:27:24 +00:00
...
This commit is contained in:
parent
8199802b44
commit
31775c8b50
1 changed files with 2 additions and 0 deletions
|
|
@ -156,10 +156,12 @@ class Boss(Thread):
|
|||
safe_print(traceback.format_exc())
|
||||
|
||||
def add_child_fd(self, child_fd, read_ready, write_ready):
|
||||
' Must be called in child thread '
|
||||
self.read_dispatch_map[child_fd] = read_ready
|
||||
self.write_dispatch_map[child_fd] = write_ready
|
||||
|
||||
def remove_child_fd(self, child_fd):
|
||||
' Must be called in child thread '
|
||||
self.read_dispatch_map.pop(child_fd, None)
|
||||
self.write_dispatch_map.pop(child_fd, None)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue