Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Dec 1996 18:41:37 -0500
From:      Bakul Shah <bakul@plexuscom.com>
To:        Sean Kelly <kelly@fsl.noaa.gov>
Cc:        hackers@freebsd.org
Subject:   Re: poll(2) 
Message-ID:  <199612092341.SAA02068@chai.plexuscom.com>
In-Reply-To: Your message of "Mon, 09 Dec 1996 16:28:17 MST." <32ACA091.2EFB@fsl.noaa.gov> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Nice though it is, it's a terrible name for a system call.  You use it
> to avoid polling ... and yet it's called "poll".  (Of course, the
> reminder of SysV doesn't help much either. :-)

Well, your program _is_ polling; it is polling a whole bunch of file
descriptors all at once!  It is avoiding busy-waiting (a strange
phrase) but that is just an implementation detail!  And yes, please
do not remind us of sysV :-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612092341.SAA02068>