[vlc-commits] commit: win32: disable broken thread times too (Pierre Ynard )
git at videolan.org
git at videolan.org
Wed Dec 1 21:56:50 CET 2010
vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Wed Dec 1 21:56:36 2010 +0100| [6310a0d56c69340ebe2506b145f7cd5b3379e91b] | committer: Pierre Ynard
win32: disable broken thread times too
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6310a0d56c69340ebe2506b145f7cd5b3379e91b
---
src/misc/threads.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/misc/threads.c b/src/misc/threads.c
index 24726e5..660f3b0 100644
--- a/src/misc/threads.c
+++ b/src/misc/threads.c
@@ -170,7 +170,7 @@ void vlc_thread_join( vlc_object_t *p_this )
{
vlc_object_internals_t *p_priv = vlc_internals( p_this );
-#if defined( WIN32 ) && !defined( UNDER_CE )
+#if 0 && defined( WIN32 ) && !defined( UNDER_CE )
HANDLE hThread;
FILETIME create_ft, exit_ft, kernel_ft, user_ft;
int64_t real_time, kernel_time, user_time;
@@ -190,7 +190,7 @@ void vlc_thread_join( vlc_object_t *p_this )
vlc_join( p_priv->thread_id, NULL );
-#if defined( WIN32 ) && !defined( UNDER_CE )
+#if 0 && defined( WIN32 ) && !defined( UNDER_CE )
/* 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 ) )
More information about the vlc-commits
mailing list