title: Keep Process From Context Switching
body: <p>I have coded a specific process on Windows in C++ which continually polls to check if context switches have occurred. Because it is essential that this process not miss anything, I was wondering if there was a way of telling the scheduler to not context switch out this specific process while it is running. I am not simply talking about setting it to high priority, but setting it to a priority in which it is not switched at all.</p>