[coyotos-dev] Timeouts (was Sleep for interval)

Charles Landau clandau at macslab.com
Fri Oct 5 14:02:29 EDT 2007


At 6:43 PM +0100 10/5/07, Sam Mason wrote:
>What about non-interactive, scheduled, jobs?  I'd quite like to be able
>to say that if it takes longer than 10 seconds to initially connect to
>a host then abort the whole task.  Additionally, I know that it takes
>longer than 10 seconds for the whole job to complete so I can't set a
>simple coarse maximum run-time for the whole thing.

The point is, the facility you want is "abort this operation", not 
"timeout this IPC". Then you can write a program to invoke the abort 
method based on any algorithm, be it timeout, user command, or 
whatever. And you can select "this operation" based on whatever level 
makes sense (each job, not the whole thing).




More information about the coyotos-dev mailing list