Replies: 1 comment 1 reply
-
|
CEchoServer does not need to call CScheduler::Yield(), because CSocket::Accept() and CSocket:Receive() block and call yield internally, while waiting for incoming connections or data. Thanks for appreciating Circle!
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
alexe100
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, new to Circle but very interested on it.
I am executing the samples to better understanding the programming API as well as reading the doc and now I am blocked in the WLAN hello_ap. As this sample can accept 4 clients, and launches a new CEchoServer instance per connection and as scheduler is cooperative, why CEchoServer class does not call yield to release processing to other threads/tasks?
Great piece of software!
Thank you!
Alex
Beta Was this translation helpful? Give feedback.
All reactions