Go to the first, previous, next, last section, table of contents.


ox_reset,ox_intr,register_handler

ox_reset(number)
:: Resets an OpenXM server
ox_intr(number)
:: Sends SIGINT to an OpenXM server
register_handler(func)
:: Registers a function callable on a keyboard interrupt.
return
1
number
integer(process identifier)
func
functor or 0
[10] ox_launch();
0
[11] ox_rpc(0,"fctr",x^100-y^100);
0
[12] ox_reset(0); /* usr1 : return to toplevel by SIGUSR1 */
1                 /* is displayed on the xterm.           */
[340] Procs=[ox_launch(),ox_launch()];
[0,1]
[341] def reset() { extern Procs; map(ox_reset,Procs);}
[342] map(ox_rpc,Procs,"fctr",x^100-y^100);
[0,0]
[343] register_handler(reset);
1
[344] interrupt ?(q/t/c/d/u/w/?) u
Abort this computation? (y or n) y
Calling the registered exception handler...done.
return to toplevel
References
section ox_rpc, ox_cmo_rpc, ox_execute_string


Go to the first, previous, next, last section, table of contents.