Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 1997 14:36:41 -0400 (EDT)
From:      Peter Dufault <dufault@hda.com>
To:        peter@spinner.DIALix.COM (Peter Wemm)
Cc:        current@freebsd.org
Subject:   Re: POLL & the Single FreeBSD'r
Message-ID:  <199704081836.OAA14015@hda.hda.com>
In-Reply-To: <199704081808.CAA11077@spinner.DIALix.COM> from Peter Wemm at "Apr 9, 97 02:08:36 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> Oh, what a pleasant thought!  :-)  poll() a directory waiting for 
> something to put a file in there without having to wake up every so-many 
> seconds and stat the dir (as cron does).  poll() a file to see time or 
> size changes, eg: do what tail -f does without having to sleep and re-read 
> every so often..
> 
> Hmm.. wasn't something like this in ITS?  It's print spooler was 
> supposedly automatically woken when a file was placed in the queue 
> directory.

The WIN32 API has this.  I don't remember what it is.

-- 
Peter Dufault (dufault@hda.com)   Realtime Machine Control and Simulation
HD Associates, Inc.               Voice: 508 433 6936



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