On Sat, 19 May 2007, Jan Kandziora wrote: > There is no need for special "interrupt driven programming" in Linux, as > Un*x -- in opposition to DOS -- is a multi-tasking OS by nature. It handles > *all* tasks as "interrupt-driven". > > Set up a shell script with an endless loop, poll, sleep a second, poll ... > Other tasks will run during the sleeping automatically.
If you want to watch a bunch files that you are adding to elsewhere you can use select so that you are woken when any of them change. man 2 select njh ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
