[plug] Scheduling Problems

Mike Holland myk at golden.wattle.id.au
Thu May 18 13:26:02 WST 2000


On Thu, 18 May 2000, Leon Brooks wrote:

> Brad Campbell wrote:
> > I can't do a blocking read, in case I have a device go down.
> 
> Yes you can! You're not on a single-user machine. Have a watchdog
> thread/process tap the main thread/process on the shoulder if it dies.

Could you also try setitimer() to interrupt a blocking read?

Brad - maybe just to be sure, use strace to check pascal isnt doing any
unexpected syscalls.


Mike Holland  <mike at golden.wattle.id.au>
                          --==--
antispam: rot 13 my email xor with the first 20 letters of the king james
bible and run crypt to mail me.




More information about the plug mailing list