console polling loop and inotify
Ivan Krstić
krstic at solarsail.hcs.harvard.edu
Thu Mar 29 11:04:43 EDT 2007
William Cohen wrote:
> Why poll? Doesn't python have access to inotify? It seems like something
> like that would be useful in a number of places to avoid having
> processes wake up, check that nothing has changed, and then go back to
> sleep.
Python can't hard-depend on inotify since it builds on many non-Linux
platforms; using it if it's available could be a possibility, if it
doesn't make the code ugly. Neal would know more.
--
Ivan Krstić <krstic at solarsail.hcs.harvard.edu> | GPG: 0x147C722D
More information about the Devel
mailing list