Re: Non-blocking directory watching
- From: "Matthew" <mmundy1@xxxxxxxxx>
- Date: 12 Mar 2007 09:15:37 -0700
Naw. I too am polling at the moment. This was more of a curiosity
question in the hopes of adding to my knowledge.
Thanks.
---Matthew
On Mar 9, 2:41 pm, xhos...@xxxxxxxxx wrote:
"Matthew" <mmun...@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
.
- References:
- Non-blocking directory watching
- From: Matthew
- Re: Non-blocking directory watching
- From: xhoster
- Non-blocking directory watching
- Prev by Date: Re: Equivalent in Perl
- Next by Date: Re: Convert hex to bin
- Previous by thread: Re: Non-blocking directory watching
- Next by thread: Array Ref Error
- Index(es):
Relevant Pages
|