4 ms·
How does it prevent two actors from waiting on each other?
by pornel 2y ago
How does it prevent two actors from waiting on each other?
- rurban 2y agoThere are no locks. There is no blocking wait, the IO lib is nonblocking throughout. Actors cannot wait. Messages are guaranteed to be processed ordered sequentially. https://tutorial.ponylang.io/index.html#whats-pony-anyway https://tutorial.ponylang.io/index.html#whats-pony-anyway
- loeg 2y agoThere are while loops, though, so actors can still livelock.