chkinterrupt
| chkinterrupt | 
  Purpose
 
  
  Synopsis
 
 int chkinterrupt(XPRMcontext ctx);
 
  Argument
 
 | 
     ctx 
     | 
     Mosel's execution context
     | 
  Return value
 
 
 0 if execution can continue,
 XPRM_RT_STOP if model is expected to terminate.
 
  Further information
 
 
 A native function which execution time is longer than 1 or 2 seconds should call this function regularly and abort its processing as soon as possible when the return value is not 0.
 
 
