Mark Hubbart
11/5/2004 7:20:00 AM
On Fri, 5 Nov 2004 10:33:44 +0900, gabriele renzi
<rff_rff@remove-yahoo.it> wrote:
> Brian Schröder ha scritto:
>
>
> > Hello Robert,
> >
> > nice to hear, that you are using the course.
> > In my course there was one person with a windows system,
> > and his problem was, that the console only drew the received text,
> > when he hit return. So not usable as a chat client.
> > cmd seems to cache printed text while it is reading with gets.
> >
> > Regards,
> >
> > Brian
>
> isn't this an example of the know threading issues on windows?
> (basically, IO on non-sockets objects like the console is blocking).
This may be a dumb question, but if it's blocking IO that's the
problem, wouldn't IO#readpartial work, since it always returns
immediately?
hth,
Mark