Does SetThreadPriority cause thread reschedulling?
- by Suma
Consider following situation, assuming single CPU system:
thread A is running with a priority THREAD_PRIORITY_NORMAL, signals event E
thread B with a priority THREAD_PRIORITY_LOWEST is waiting for an event E (Note: at this point the thread is not scheduled because it is runnable, but A is higher priority and runnable as well)
thread A calls…