On Tue, Aug 13, 2013 at 8:38 AM, Cedric Blancher <[email protected]> wrote: > Does ksh have a plugin to handle multiple timers? I'm looking for > something which can set variables in regular intervals or issue > one-shot events (e.g. timeout). The timers must be cancel-able, i.e. > this is for a function library and the caller must not know about this > or interfere with the timers used by a caller.
Use child processes to act as 'timers', e.g. they send you SIGRT* signals and you kill them to cancel the timer? Communication can be two-way via realtime signals, e.g. use kill -q to encode an interval (sadly si_int is an int32_t so you're limited to just 2**32 values :) Irek _______________________________________________ ast-users mailing list [email protected] http://lists.research.att.com/mailman/listinfo/ast-users
