Async Sleep?

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Sun Apr 16 19:07:56 EDT 2006


In article <e1s2h1$m07$1 at ss405.t-com.hr>,
 "Aleksandar Cikota" <alexci at web.de> wrote:

>How to check this every 10 sec, but that the CPU is free?

Or better still, why not set a notification on the directory, so you're 
woken up every time something happens to it?

Look up the inotify mechanism, which was added in version 2.6.13 of the 
Linux kernel.



More information about the Python-list mailing list