Re: Non-blocking directory watching
- From: xhoster@xxxxxxxxx
- Date: 09 Mar 2007 19:41:55 GMT
"Matthew" <mmundy1@xxxxxxxxx> wrote:
Hello all.
Is there a way to watch a directory for files w/o blocking? I was
hoping there was something similar to select but I have found nothing.
I can't think of a way of watching a directory *with* blocking (I'd just do
polling which may be inefficient but doesn't block waiting for a change to
happen). If you have such a method (efficient but blocking) in mind and
you share it with us, I might be able to help you make it nonblocking.
inotify will not work b/c of the linux kernel requirement. I'd like
to stay cross-platform
Xho
--
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB
.
- Follow-Ups:
- Re: Non-blocking directory watching
- From: Matthew
- Re: Non-blocking directory watching
- From: Matthew
- Re: Non-blocking directory watching
- References:
- Non-blocking directory watching
- From: Matthew
- Non-blocking directory watching
- Prev by Date: Re: Dumping Perl tie hash file
- Next by Date: Re: Error description.
- Previous by thread: Non-blocking directory watching
- Next by thread: Re: Non-blocking directory watching
- Index(es):
Relevant Pages
|