From owner-freebsd-hackers Mon Dec 9 15:41:46 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id PAA12075 for hackers-outgoing; Mon, 9 Dec 1996 15:41:46 -0800 (PST) Received: from chai.plexuscom.com (chai.plexuscom.com [207.87.46.100]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id PAA12055 for ; Mon, 9 Dec 1996 15:41:43 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by chai.plexuscom.com (8.7.6/8.6.12) with SMTP id SAA02068; Mon, 9 Dec 1996 18:41:37 -0500 (EST) Message-Id: <199612092341.SAA02068@chai.plexuscom.com> X-Authentication-Warning: chai.plexuscom.com: Host localhost [127.0.0.1] didn't use HELO protocol To: Sean Kelly Cc: hackers@freebsd.org Subject: Re: poll(2) In-reply-to: Your message of "Mon, 09 Dec 1996 16:28:17 MST." <32ACA091.2EFB@fsl.noaa.gov> Date: Mon, 09 Dec 1996 18:41:37 -0500 From: Bakul Shah Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > 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 :-)