console polling loop and inotify

William Cohen wcohen at redhat.com
Thu Mar 29 15:07:05 EDT 2007


Ivan Krstić wrote:
> Neal Norwitz wrote:
>> I'm missing a bit of context.  Ivan is correct that we probably
>> wouldn't want an inotify module in the core.  However, there can
>> certainly be a module created to provide access to inotify from
>> python.  I'm not sure what the goal is.
> 
> Sorry, I misread Will's message and thought the interpreter was doing
> something stupid. Will's actual complaint is with end-user behavior, not
> the Python core, and there's a set of good python inotify bindings that
> we could be using to avoid the issue:
> 
>     http://pyinotify.sourceforge.net/
> 
> Will, would you file a bug in Trac about using inotify, and attach a
> list of places you see us polling currently?
> 
> Thanks,
> 

There is a bug filed for this specific one, trac #1189. I will keep my eye open 
for others.

I would think that the goal is to avoid polling where possible on olpc so the 
processor can be in the halted state for longer periods of time.

-Will



More information about the Devel mailing list