Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
einsteinathome
boinc
Commits
1f944bb9
Commit
1f944bb9
authored
Feb 25, 2015
by
Bernd Machenschalk
Browse files
two more casts DWORD -> UINT64 for 'thread ids' (actually void*)
parent
6d477ecc
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/diagnostics_win.cpp
View file @
1f944bb9
...
...
@@ -325,12 +325,12 @@ int diagnostics_update_thread_list() {
hThread
=
OpenThread
(
THREAD_ALL_ACCESS
,
FALSE
,
(
DWORD
)(
pThread
->
ClientId
.
UniqueThread
)
(
UINT64
)(
pThread
->
ClientId
.
UniqueThread
)
);
pThreadEntry
=
new
BOINC_THREADLISTENTRY
;
diagnostics_init_thread_entry
(
pThreadEntry
);
pThreadEntry
->
thread_id
=
(
DWORD
)(
pThread
->
ClientId
.
UniqueThread
);
pThreadEntry
->
thread_id
=
(
UINT64
)(
pThread
->
ClientId
.
UniqueThread
);
pThreadEntry
->
thread_handle
=
hThread
;
pThreadEntry
->
crash_kernel_time
=
(
FLOAT
)
pThread
->
KernelTime
.
QuadPart
;
pThreadEntry
->
crash_user_time
=
(
FLOAT
)
pThread
->
UserTime
.
QuadPart
;
...
...
Write
Preview
Supports
Markdown
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