Skip to content

Comment on FoundationDB's Flow – Bringing Actor-Based Concurrency to C++11parent

Comments

What happens when there are no messages on the queue for a given actor?

An actor does not have a queue; that's again the whole point I already made: it's event-driven, things are decoupled and the actor is not aware of how control flow happens.

Regardless, when the queue which exists and is per-thread is empty, the program terminates.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.