You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given that embedded systems have limited available threads, it is important that we dont consume all threads by creating tasks to handle each and every new connection. Instead we should have a single thread responsible for handling new connections. Whenever new connections are received, we add the corresponding file descriptors to one mega list of all active file descriptors.
The thread responsible for handling new connections can then check which file descriptors are ready for reading/writing, and handling them accordingly
Expected Outcome
A dedicated thread handles all connections
The text was updated successfully, but these errors were encountered:
Overview
Given that embedded systems have limited available threads, it is important that we dont consume all threads by creating tasks to handle each and every new connection. Instead we should have a single thread responsible for handling new connections. Whenever new connections are received, we add the corresponding file descriptors to one mega list of all active file descriptors.
The thread responsible for handling new connections can then check which file descriptors are ready for reading/writing, and handling them accordingly
Expected Outcome
The text was updated successfully, but these errors were encountered: