SPC  Version 0.9.5
 All Files Functions Groups Pages
ex_StartTask.spc

This is an example of how to use the StartTask function.

task foo()
{
while(true) {
puts("foo is running\n");
}
}
task main()
{
StartTask(foo); // start the foo task
while(true)
{
puts("main is running\n");
}
}