Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ca56ef67
Commit
ca56ef67
authored
May 25, 2020
by
Paul Gofman
Committed by
Alexandre Julliard
May 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Fill ActiveGroupCount field in _KUSER_SHARED_DATA.
Signed-off-by:
Paul Gofman
<
pgofman@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1306bd94
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
virtual.c
dlls/ntdll/tests/virtual.c
+3
-0
thread.c
dlls/ntdll/thread.c
+1
-0
No files found.
dlls/ntdll/tests/virtual.c
View file @
ca56ef67
...
...
@@ -531,6 +531,9 @@ static void test_user_shared_data(void)
ok
(
user_shared_data
->
ActiveProcessorCount
==
NtCurrentTeb
()
->
Peb
->
NumberOfProcessors
||
broken
(
!
user_shared_data
->
ActiveProcessorCount
)
/* before Win7 */
,
"Got unexpected ActiveProcessorCount %u.
\n
"
,
user_shared_data
->
ActiveProcessorCount
);
ok
(
user_shared_data
->
ActiveGroupCount
==
1
||
broken
(
!
user_shared_data
->
ActiveGroupCount
)
/* before Win7 */
,
"Got unexpected ActiveGroupCount %u.
\n
"
,
user_shared_data
->
ActiveGroupCount
);
}
START_TEST
(
virtual
)
...
...
dlls/ntdll/thread.c
View file @
ca56ef67
...
...
@@ -239,6 +239,7 @@ static void fill_user_shared_data( struct _KUSER_SHARED_DATA *data )
break
;
}
data
->
ActiveProcessorCount
=
NtCurrentTeb
()
->
Peb
->
NumberOfProcessors
;
data
->
ActiveGroupCount
=
1
;
}
HANDLE
user_shared_data_init_done
(
void
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment