blocking incoming messages while typing
Brought to you by:
cloudkj
when a user is typing a command at the prompt,
another buddy may send a message and interrupt the
typing.
a solution would be to "store" all incoming messages and
block until an outgoing message is sent.
this has 2 problems:
1. all messages would be blocked indefinitely if the user
is idle and not typing any commands
2. not sure if this CAN be implemented. probably have to
synchronize parts of the incoming/outgoing threads on a
common lock dealing with the outgoing command typed
by the user.
Logged In: NO
1. all messages would be blocked indefinitely if the user
is idle and not typing any commands
Couldn't the messages be only blocked while the user is typing?