Discussion:
[ast-developers] [ast-users] timers in shell?
ольга крыжановская
2013-08-30 19:12:51 UTC
Permalink
Roland once wrote a "timer" builtin which has sub commands "create",
"delete", "gettime", "settime" and "getoverrun", and has access to all
times the POSIX timer api provides. It either sends SIGALRM or
(preferred) SIGRT signals to the consumers.

If Glenn and David approve the idea, I'd make him to polish the
builtin, for usage in ksh93v-.

Olga

On Tue, Aug 13, 2013 at 8:38 AM, Cedric Blancher
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.
Ced
--
Cedric Blancher <cedric.blancher at gmail.com>
Institute Pasteur
_______________________________________________
ast-users mailing list
ast-users at lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-users
--
, _ _ ,
{ \/`o;====- Olga Kryzhanovska -====;o`\/ }
.----'-/`-/ olga.kryzhanovska at gmail.com \-`\-'----.
`'-..-| / http://twitter.com/fleyta \ |-..-'`
/\/\ Solaris/BSD//C/C++ programmer /\/\
`--` `--`
Loading...