Navigation bar
  Start Previous page
 283 of 283 
Next page End 278 279 280 281 282 283  

274
Yield
Type
Subroutine
Invocation
Yield() 
Discussion
This routine is can be called whenever it is desirable to allow another task to run that is ready to run.  One
been called one or more times.  Normally, when an RTC interrupt occurs a task switch is performed
immediately if the current task’s time slice has expired or if a task is awaiting the expiration of an interval
and the interval period has elapsed.  However, if interrupts are disabled this automatic task switch cannot
be performed.  A call to UpdateRTC() will prepare the system for an eventual task switch which is then
triggered by a call to Yield().
Compatibility
This function is only available for native code targets, e.g. the ZX-24n.
Example
See the example at UpdateRTC.
See Also
Previous page Top Next page