Commit Graph

13 Commits

Author SHA1 Message Date
Kristóf Tóth
1bd64c368c Fix bug where select() wouldn't block on linux (EOF) 2019-08-06 16:56:14 +02:00
Kristóf Tóth
7cb6af9c4e Reimplement IO loops to be more resilient against unintended client behaviour 2019-08-05 17:38:33 +02:00
Kristóf Tóth
b1d23f9d95 Daemonize all threads to avoid breaking IOLoop exception handling (i.e tornado) 2019-05-07 17:16:43 +02:00
Kristóf Tóth
14ac1b82d1 Add strong close consistency guarantee to reader side 2019-05-04 22:34:28 +02:00
Kristóf Tóth
aa7eea6242 Really fix deadlock causing race condition 2019-05-03 22:00:23 +02:00
Kristóf Tóth
dbe5b10482 Fix unblock race condition randomly leading to deadlocks 2019-05-03 17:31:57 +02:00
Kristóf Tóth
daabc6dd8e Add support for reopening closed pipes with consistency guarantees 2019-05-02 23:07:32 +02:00
Kristóf Tóth
a2d6077619 Fix bugs with input pipe reading (messages beginning with b'\n' or ending with whitespace) 2019-04-02 14:15:46 +02:00
Kristóf Tóth
07c35cc8bf Operate on a byte level instead of utf8 strings only 2019-04-01 14:27:37 +02:00
Kristóf Tóth
1a28862129 Rework PipeIOServer to use "keep pipes open" model with robust unblocking 2019-03-28 16:25:53 +01:00
Kristóf Tóth
d28ea355f7 Refactor pipe logic to a separate class 2018-12-16 21:22:20 +01:00
Kristóf Tóth
295a53a44c Terminate process if any of the IO threads fail 2018-12-15 00:32:29 +01:00
Kristóf Tóth
86662b14d8 Refactor PipeIOServer implementation into several files 2018-12-14 17:36:53 +01:00