Commit Graph

13 Commits

Author SHA1 Message Date
Kristóf Tóth
d4a6fe8f49 Fix bug where _unblock() would fail on a stopped thread 2019-08-06 16:18:56 +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
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
ca613644ac Implement thread-safe, blocking Deque class for reopen consistency 2019-05-02 23:14:08 +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
a3d2ea37d5 Fix exception leaving app in IO block (use non-blocing IO to teardown writer) 2019-04-01 14:36:11 +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