Re:Libdill: Structured Concurrency for C (2016)
by aidenn0 on Thursday December 21, 2017 @08:11PM
(#15984489)
Getting that right at the implementation level is quite hard; it also requires support at the OS level that isn't always there (e.g. interrupting a blocking system call).
[ Parent
| on HN ]
Re:Libdill: Structured Concurrency for C (2016)
by Peaker on Sunday December 24, 2017 @11:53AM
(#16000225)
Then avoid blocking system calls.
When you can't, defer them to a thread that can be ignored.
Re:Libdill: Structured Concurrency for C (2016)
by aidenn0 on Wednesday December 27, 2017 @04:12PM
(#16018080)
That's a huge footgun in an environment where blocking calls are the default way to get almost anything done, and some calls cannot be made non-blocking.