>>>>> "JNP" == Joshua N Pritikin <[EMAIL PROTECTED]> writes:

  JNP> ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/4.1-RELEASE/RELNOTES.TXT
  JNP> "A new event notification facility called kqueue was added to the
  JNP> FreeBSD kernel.  This is a new interface which is able to replace
  JNP> poll/select, offering improved performance, as well as the ability
  JNP> to report many different types of events.  Support for monitoring
  JNP> changes in sockets, pipes, fifos, and files are present, as well as
  JNP> for signals and processes."

i noted the abscence of semaphores. that is one event no one seems to
have addressed. i don't use semaphores for that reason. i would rather
use a pipe so i can get an event when the lock or whatever is removed.

and whether this propogates to other unixes is a big issue. i don't
think coding to a new api for just freebsd is a smart decision. if it is
better than poll/select (and that shouldn't be hard) then linux,
solaris, etc. should pick it up with at least an emulation library and
then in the kernel.

uri

-- 
Uri Guttman  ---------  [EMAIL PROTECTED]  ----------  http://www.sysarch.com
SYStems ARCHitecture, Software Engineering, Perl, Internet, UNIX Consulting
The Perl Books Page  -----------  http://www.sysarch.com/cgi-bin/perl_books
The Best Search Engine on the Net  ----------  http://www.northernlight.com

Reply via email to