aboutsummaryrefslogtreecommitdiff
path: root/lib/libUPnP/patches/0004-platinum-make-sure-Neptune-threads-are-named.patch
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libUPnP/patches/0004-platinum-make-sure-Neptune-threads-are-named.patch')
-rw-r--r--lib/libUPnP/patches/0004-platinum-make-sure-Neptune-threads-are-named.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libUPnP/patches/0004-platinum-make-sure-Neptune-threads-are-named.patch b/lib/libUPnP/patches/0004-platinum-make-sure-Neptune-threads-are-named.patch
index d2625625ed..8279e19cc7 100644
--- a/lib/libUPnP/patches/0004-platinum-make-sure-Neptune-threads-are-named.patch
+++ b/lib/libUPnP/patches/0004-platinum-make-sure-Neptune-threads-are-named.patch
@@ -11,7 +11,7 @@ diff --git a/lib/libUPnP/Neptune/Source/System/Win32/NptWin32Threads.cpp b/lib/l
index 9666a4c..8de7d74 100644
--- a/lib/libUPnP/Neptune/Source/System/Win32/NptWin32Threads.cpp
+++ b/lib/libUPnP/Neptune/Source/System/Win32/NptWin32Threads.cpp
-@@ -521,6 +521,28 @@ NPT_Win32Thread::EntryPoint(void* argument)
+@@ -525,6 +525,28 @@ NPT_Win32Thread::EntryPoint(void* argument)
NPT_System::GetCurrentTimeStamp(now);
NPT_System::SetRandomSeed((NPT_UInt32)(now.ToNanos()) + ::GetCurrentThreadId());
@@ -37,9 +37,9 @@ index 9666a4c..8de7d74 100644
+ {
+ }
+
- // run the thread
- thread->Run();
-
+ thread->m_ThreadId = (DWORD)::GetCurrentThreadId();
+
+ // run the thread
--
1.7.11.msysgit.0