When a task blocks because a semaphore isn’t available to take, does the context immediately switch to another task? Or does the OS pend until the next systick after which a context switch occurs?
I need to sample something at 1000 hz, but my systick is also at 1000 hz. I’m worried that my sampling task will starve all other tasks of processing time.
Thanks in advance.