--- doc/docbase/instrument_scripts/nksp/reference/functions/nksp_wait_function.html 2016/07/15 16:03:20 2950 +++ doc/docbase/instrument_scripts/nksp/reference/functions/nksp_wait_function.html 2016/07/22 14:38:17 2973 @@ -12,6 +12,12 @@ the requested amount times elapsed by calling stop_wait() from another event handler instance.

+

+ The ??duration-us?? argument must neither + be negative nor zero, otherwise script execution will be aborted, because this + is a common indication of bugs in scripts which could potentially lead to + real-time instability or worse scenarios otherwise. +

If the even handler instance's built-in variable $NKSP_IGNORE_WAIT reflects 1 then all calls to wait() will be ignored. @@ -33,7 +39,7 @@ ??duration-us?? Integer Number - Amount of microseconds to pause execution.
+ Positive (non zero) amount of microseconds to pause execution.
[required]