in reply to Re^10: Help designing a threaded service
in thread Help designing a threaded service
There's a difference between being notified about new connection and accepting it.
OKay. So all of these identical workers are sitting polling, poll/epoll/select/whatever, and when a new client connects, exactly one of them will come out of the polling with a new client socket in a can read state, and all the others will get a polite note slipped under their doors informing them of the event.
Do please think before pedanting.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^12: Help designing a threaded service
by zwon (Abbot) on Jan 28, 2014 at 15:03 UTC |