Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
a116f96a
Commit
a116f96a
authored
8 years ago
by
Nicky
Browse files
Options
Downloads
Patches
Plain Diff
Windows: USe the correct datatypes when calling the Windows API.
(transplanted from 8b0c42b1a4f0416a17c8ec6078a85c5773f69a25)
parent
f86c1e4e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/llcommon/llprocessor.cpp
+1
-1
1 addition, 1 deletion
indra/llcommon/llprocessor.cpp
indra/llcommon/llthread.cpp
+1
-1
1 addition, 1 deletion
indra/llcommon/llthread.cpp
with
2 additions
and
2 deletions
indra/llcommon/llprocessor.cpp
+
1
−
1
View file @
a116f96a
...
...
@@ -398,7 +398,7 @@ static F64 calculate_cpu_frequency(U32 measure_msecs)
HANDLE
hThread
=
GetCurrentThread
();
unsigned
long
dwCurPriorityClass
=
GetPriorityClass
(
hProcess
);
int
iCurThreadPriority
=
GetThreadPriority
(
hThread
);
unsigned
long
dwProcessMask
,
dwSystemMask
,
dwNewMask
=
1
;
DWORD_PTR
dwProcessMask
,
dwSystemMask
,
dwNewMask
=
1
;
GetProcessAffinityMask
(
hProcess
,
&
dwProcessMask
,
&
dwSystemMask
);
SetPriorityClass
(
hProcess
,
REALTIME_PRIORITY_CLASS
);
...
...
This diff is collapsed.
Click to expand it.
indra/llcommon/llthread.cpp
+
1
−
1
View file @
a116f96a
...
...
@@ -63,7 +63,7 @@ void set_thread_name( DWORD dwThreadID, const char* threadName)
__try
{
::
RaiseException
(
MS_VC_EXCEPTION
,
0
,
sizeof
(
info
)
/
sizeof
(
DWORD
),
(
DWORD
*
)
&
info
);
::
RaiseException
(
MS_VC_EXCEPTION
,
0
,
sizeof
(
info
)
/
sizeof
(
DWORD
),
(
ULONG_PTR
*
)
&
info
);
}
__except
(
EXCEPTION_CONTINUE_EXECUTION
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment