Menu

#11 blocking incoming messages while typing

open
nobody
8
2004-02-10
2003-07-25
No

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.

Discussion

  • Kelvin Jiang

    Kelvin Jiang - 2003-08-06
    • assigned_to: nobody --> davidmc24
     
  • David M. Carr

    David M. Carr - 2004-02-10
    • assigned_to: davidmc24 --> nobody
     
  • Nobody/Anonymous

    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?

     

Log in to post a comment.