How to secure task switching

In Seal there are special versions of the "while" and "for" keywords that should be used to secure task switching when running several applications at the same time.

_while ()

     Syntax:       #define  _while(t)

     Description:  Defines the multitasking while mechanism. Using this 
                   ensures that your process can be stopped and other 
                   processes run.

     Example:      You just use the "_while" keyword in the same way as
                   you use the original "while":

                      _while(1) {



_for ()

     Syntax:       #define _for(t1,t2,t3) 

     Description:  Same as for "_while" above, but for the "for" directive.