I am using RxTiny with the intention of running "parallel" multiple tasks. The problem is the next task does not run unless the current task halts (by using os calls like OS_DELAY() or OS_WAIT()). Seemed like the timeout does not occurred to allow next task to run. I am debugging using the uVision Debugger. Could this have some effect? I am not using Timer0 which the documentation said was used by RxTiny for time ticks. I looked at the RxTiny examples. Did not see anything that was different than what I am doing. Thanks for your help.
The task does not have to stop itself. RTX Tiny will perform task switching at timeouts. Are interrupts enabled? If you are using debugger, you can try to find out what goes wrong. Set a breakpoint at Timer0 interrupt vector to see if the T0 ISR gets control. There is also 'Kernel Aware Debugging' feature in the uVision2 debugger, look at the task list to make sure they are in the running state. - mike