[project @ 2003-12-22 12:23:35 by simonmar] - Fix hGetBuf & hGetBufNonBlocking.  There were various bugs in these   two functions, so I did a complete rewrite (again).  They are quite   hard to get right it seems, so I've put together a test case   (shortly to be added to the test suite).
[project @ 2003-12-22 12:23:35 by simonmar]
- Fix hGetBuf & hGetBufNonBlocking.  There were various bugs in these
  two functions, so I did a complete rewrite (again).  They are quite
  hard to get right it seems, so I've put together a test case
  (shortly to be added to the test suite).

- Change to the semantics of hWaitForInput: when given a negative
  time argument, this function will wait indefinitely for input to
  arrive.  It will wait in a thread-friendly way, unlike when the
  time argument is positive.  The docs now admit that hWaitForInput
  is buggy when given a positive time value.

  hWaitForInput h (-1) is now the approved way to wait for input
  before calling hGetBufNonBlocking.

MERGE TO STABLE (hGetBuf is broken in 6.2).

Zigazou/containers,hvr/containers,hvr/containers,meiersi/psqueues-old,iu-parfunc/containers,iu-parfunc/containers,ekmett/containers,beni55/pretty,Zigazou/containers,ekmett/containers,iu-parfunc/containers,shockkolate/containers,shockkolate/containers,Zigazou/containers,hvr/containers,ekmett/containers,shockkolate/containers