ex_microthreads

Microthreading example. This sample shows how to suspend script execution and restore it later. Thanks to this mechanism you can write your algorithms as if they where running uninterrupted, but when they reach a suspension point, the execution may be passed to another code fragment.