msvcr110: Create current scheduler in _CurrentScheduler::_GetNumberOfVirtualProcessors.
Signed-off-by: Daniel Lehman <dlehman@esri.com> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8ae5352a72
commit
16f9a9e122
|
@ -67,9 +67,9 @@ static void test_CurrentScheduler(void)
|
|||
GetSystemInfo(&si);
|
||||
expect = si.dwNumberOfProcessors;
|
||||
ncpus = p__CurrentScheduler__GetNumberOfVirtualProcessors();
|
||||
todo_wine ok(ncpus == expect, "expected %u, got %u\n", expect, ncpus);
|
||||
ok(ncpus == expect, "expected %u, got %u\n", expect, ncpus);
|
||||
ncpus = p_CurrentScheduler_GetNumberOfVirtualProcessors();
|
||||
todo_wine ok(ncpus == expect, "expected %u, got %u\n", expect, ncpus);
|
||||
ok(ncpus == expect, "expected %u, got %u\n", expect, ncpus);
|
||||
}
|
||||
|
||||
static void test_setlocale(void)
|
||||
|
|
|
@ -1063,6 +1063,7 @@ _Scheduler* __cdecl _CurrentScheduler__Get(_Scheduler *ret)
|
|||
unsigned int __cdecl _CurrentScheduler__GetNumberOfVirtualProcessors(void)
|
||||
{
|
||||
TRACE("()\n");
|
||||
get_current_scheduler();
|
||||
return CurrentScheduler_GetNumberOfVirtualProcessors();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue