[TUHS] non-blocking IO

Larry McVoy lm at mcvoy.com
Tue Jun 2 00:58:02 AEST 2020


On Mon, Jun 01, 2020 at 01:32:56PM +1000, Dave Horsfall wrote:
> On Mon, 1 Jun 2020, Rob Pike wrote:
> 
> > I???m not quite sure why the Research lineage did not include
> > non-blocking behaviour, especially in view of the man page comments.
> > Maybe it was seen as against the Unix philosophy, with select()
> > offering sufficient mechanism to avoid blocking (with open() the hard
> > corner case)?
> >
> >That's it. Select was good enough for our purposes.
> 
> After being dragged through both Berserkley and SysVile, I never did get the
> hang of poll()/select() etc,,,

I'm sure you could, select is super handy, think a network server like
apache.


More information about the TUHS mailing list