4 ms·
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 sys
by aidenn0 9y ago
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).
- Peaker 9y agoThen avoid blocking system calls. When you can't, defer them to a thread that can be ignored.
- aidenn0 9y agoThat'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.
- Peaker 9y agoTrue, but we don't have much trouble with it though. We don't directly call syscalls but use our own wrappers that take care of this for us.
- aidenn0 9y agoSorry for the late reply, but I just saw this reply. Can you share who "we" are? I'm always interested in new practical systems for concurrency.