Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
4ef45be2
Commit
4ef45be2
authored
Aug 12, 2009
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WinCE: remove broken thread times debug
The call was broken, but still worked, but only half-way...
parent
17492dca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
src/misc/threads.c
src/misc/threads.c
+3
-5
No files found.
src/misc/threads.c
View file @
4ef45be2
...
...
@@ -169,12 +169,11 @@ void __vlc_thread_join( vlc_object_t *p_this )
#if defined( LIBVLC_USE_PTHREAD )
vlc_join
(
p_priv
->
thread_id
,
NULL
);
#elif defined(
UNDER_CE ) || defined( WIN32
)
#elif defined(
WIN32 ) && !defined( UNDER_CE
)
HANDLE
hThread
;
FILETIME
create_ft
,
exit_ft
,
kernel_ft
,
user_ft
;
int64_t
real_time
,
kernel_time
,
user_time
;
#ifndef UNDER_CE
if
(
!
DuplicateHandle
(
GetCurrentProcess
(),
p_priv
->
thread_id
,
GetCurrentProcess
(),
...
...
@@ -186,12 +185,11 @@ void __vlc_thread_join( vlc_object_t *p_this )
p_priv
->
b_thread
=
false
;
return
;
/* We have a problem! */
}
#else
hThread
=
p_priv
->
thread_id
->
handle
;
#endif
vlc_join
(
p_priv
->
thread_id
,
NULL
);
/* FIXME: this could work on WinCE too... except that it seems always to
* return 0 for exit_ft and kernel_ft */
if
(
GetThreadTimes
(
hThread
,
&
create_ft
,
&
exit_ft
,
&
kernel_ft
,
&
user_ft
)
)
{
real_time
=
...
...
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