Full Posix threads are way more complicated than what is needed here I
suppose.
> > You can't use stdio streams in bi-directional mode, but you could
> > fdopen() two files, one for reading and one for writing. For the file
> > zapper, simply fflush() the stdio file and to a write() to its
> > fileno() -- this is well-defined according to Posix and I'm sure also
> > in practice.
>
> Does that count as agreement?
I was arguing in favor of using stdio streams to encapsulate the
buffering. Simin hasn't said yes or no about this yet.
--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
URL: <http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>