Re: [Boost-users] [ASIO] Do coroutines allow serving multiple clients at once?

10 Oct
2016
10 Oct
'16
3:35 p.m.
Thanks, does spawning a coroutine also spawn a new thread? I'd be inclined to think so from what you told me

10 Oct
10 Oct
9:08 p.m.
New subject: [ASIO] Do coroutines allow serving multiple clients at once?
On Oct 10, 2016 11:35 AM, "mmarkd9@libero.it"
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.
3092
Age (days ago)
3092
Last active (days ago)
1 comments
2 participants
participants (2)
-
mmarkd9@libero.it
-
Nat Goodspeed