Environment: Win XP, Visual C++
I’m using the pthread_win32 library in order to implement threads in my program, and I want to raise my process (program) priority to HIGH_PRIORITY_CLASS. Is there any function in the library that allows this kind of operation?
Otherwise, is it possible to use the SetPriorityClass function with `pthread_win32, or must I use the win threads to ensure some compatibility?
You can get a native thread handle on which to call
SetPriorityClasswithpthread_getw32threadhandle_np.