Hi,
I like to do a manual thread switch like osDelay will switch to a new thread, but without a timeout value, simply something like osDelay(0).
As far as i can see, there is an function osThreadYield, but this function switches to the next thread with an equal priority as the switching thread. osDelay will block the current thread and put in on the delay list, but switches to the next ready thread in the order of the thread priorities, exactly what i want, unfortunately, an delay value of 0 is not allowed there. Is there another way to do thi styp of manual thread switching?
Martin
Hello Per,
This makes sense to me, thank you