Boost logo

Boost Users :

Subject: Re: [Boost-users] [ASIO] Do coroutines allow serving multiple clients at once?
From: Nat Goodspeed (nat_at_[hidden])
Date: 2016-10-10 17:08:19


On Oct 10, 2016 11:35 AM, "mmarkd9_at_[hidden]" <mmarkd9_at_[hidden]> wrote:

> Thanks, does spawning a coroutine also spawn a new thread? I'd be
inclined to think so from what you told me

No. Multiple coroutines execute within the same thread. It's the same level
of concurrency that you get with callbacks, but much more maintainably
organized.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net