Relative Content

Tag Archive for async

How is async implemented natively?

How is async logic implemented natively without threads? What would be the high level structure of the system?
Is it just a separate OS thread that gets and pushes requests and results in 2 queues?
I keep reading about a state machine and event loop when implementing async but I’m not quite sure about the general structure.

How is async implemented natively?

How is async logic implemented natively without threads? What would be the high level structure of the system?
Is it just a separate OS thread that gets and pushes requests and results in 2 queues?
I keep reading about a state machine and event loop when implementing async but I’m not quite sure about the general structure.