3 Commits (984c1308f900a5a6ce00f581339936d005fd3511)

Author SHA1 Message Date
trivernis a90f1b5664
Remove nonblocking instruction
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 9a1c1df91d
Improve stream read write error handling
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 7fb2b5d647
Change read and write behaviour
Read and write is now done in separate threads. Each connections
starts up a read and write thread that lock until a value is retrieved.
Events are handled by one thread in the server. Data is synchronized
via mpmc channels.

Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago