winapi - User Mode Scheduler (UMS) returns ERROR_NOT_SUPPORTED -
i want use windows user-mode scheduler api every sample c or c++ have found in internet fails. invariably error_not_supported.
my computer running windows 10 pro 64-bits in x64 processor. using vs2015 , application x64 console application.
notably not every call fails, in 4 samples i've tested either
- enterumsschedulingmode
- createremotethreadex
fail error_not_supported. necessary things going, example createumscompletionlist or getumscompletionlistevent not.
the api not trivial use having hard time believing of them wrong.
i've debugged bit happens inside enterumsschedulingmode , seems things go wrong when calling ntsetinformationthread inside rtlpattachthreadtoumscompletionlist although of less sure.
Comments
Post a Comment