set_eval_limit.3
foundation2_fluffos_v1/lib/doc/driver/efuns/system/set_eval_limit.3 · 599 B
From the archive foundation2_fluffos_v1.zip
Download the archive « Back to the archive contents
.\"set the maximum evaluation cost .TH set_eval_limit 3 "5 Sep 1994" MudOS "LPC Library Functions" .SH NAME set_eval_limit() - set the maximum evaluation cost .SH SYNOPSIS void set_eval_limit( int ); .SH DESCRIPTION set_eval_limit(), with a nonzero argument, sets the maximum evaluation cost that is allowed for any one thread before a runtime error occurs. With a zero argument, it sets the current evaluation counter to zero, and the maximum cost is returned. set_eval_limit(-1) returns the remaining evaluation cost. .SH SEE ALSO catch(3), error(3), throw(3), error_handler(4), eval_cost(3)