|
|
|
|
|
by ot
865 days ago
|
|
You can do that, Java did recently. You need full control of all the blocking primitives so they can yield the thread. Where this breaks is with FFI: if you cannot intercept blocking calls in foreign functions, you block useful threads or even deadlock. This is what the quote in the article is about: > The cost for the native compatibility with the C/system runtime is the “function coloring” problem. |
|