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
9559959f
Commit
9559959f
authored
Jul 12, 2023
by
Sven Baars
Committed by
Alexandre Julliard
Jul 12, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Update a todo that succeeds with the new wow64 architecture.
parent
172c4daf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
thread.c
dlls/kernel32/tests/thread.c
+12
-2
No files found.
dlls/kernel32/tests/thread.c
View file @
9559959f
...
...
@@ -853,11 +853,21 @@ static VOID test_thread_processor(void)
HANDLE
curthread
,
curproc
;
DWORD_PTR
processMask
,
systemMask
,
retMask
;
SYSTEM_INFO
sysInfo
;
BOOL
is_wow64
;
BOOL
is_wow64
,
old_wow64
=
FALSE
;
DWORD
ret
;
if
(
!
pIsWow64Process
||
!
pIsWow64Process
(
GetCurrentProcess
(),
&
is_wow64
))
is_wow64
=
FALSE
;
if
(
is_wow64
)
{
TEB64
*
teb64
=
ULongToPtr
(
NtCurrentTeb
()
->
GdiBatchCount
);
if
(
teb64
)
{
PEB64
*
peb64
=
ULongToPtr
(
teb64
->
Peb
);
old_wow64
=
!
peb64
->
LdrData
;
}
}
sysInfo
.
dwNumberOfProcessors
=
0
;
GetSystemInfo
(
&
sysInfo
);
ok
(
sysInfo
.
dwNumberOfProcessors
>
0
,
...
...
@@ -904,7 +914,7 @@ static VOID test_thread_processor(void)
{
SetLastError
(
0xdeadbeef
);
ret
=
SetThreadIdealProcessor
(
GetCurrentThread
(),
MAXIMUM_PROCESSORS
+
1
);
todo_wine
todo_wine
_if
(
old_wow64
)
ok
(
ret
!=
~
0u
,
"Unexpected return value %lu.
\n
"
,
ret
);
SetLastError
(
0xdeadbeef
);
...
...
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