Displaying 1 result from an estimated 1 matches for "run_on".
Did you mean:
run_one
2015 Apr 01
1
Remote protocol abstracted
...ol server might
still
not yet have the `MSG_GETMSET` message from the client as a response, and
it'd
be bad practice (or catastrophic) to block the thread while the message
arrives.
This blocking (if any) should be handled further up, by the event loop.
3. Method run() split in two: run() and run_one()
-------------------------------------------------
The method run() calls run_one() in a loop, but we don't always want this
behavior. The reason is, again, event based messaging might decide to start
attending other clients on the same thread without blocking, thus an
infinite
while for the...