Improve scheduling on the Mac:
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 1 Mar 2003 15:12:03 +0000 (15:12 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 1 Mar 2003 15:12:03 +0000 (15:12 +0000)
commit0ec4b50ff9d82409f851ea04b6587c42f97f1bdb
tree8edcac1efb6ea3af3b70eca5207a20d1db94d689
parent4692a14af3bec03d75acad7795a8ca469cab0b1b
Improve scheduling on the Mac:
1: Only update the screen when there's nothing else to do.  This means that
it's a lot harder for a fast typist to outrun PuTTY.
2: Only sleep for at most 100ms at a time.  This is a kludge to work around
the WakeUpProcess caused by incoming data can happen before the
WaitNextEvent it's meant to interrupt, leading to PuTTY sleeping forever
because it doesn't know there's network data pending.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2901 cda61777-01e9-0310-a592-d414129be87e
mac/mac.c
mac/mac.h