diff options
Diffstat (limited to 'plugins/PluginUpdater/src/stdafx.h')
-rw-r--r-- | plugins/PluginUpdater/src/stdafx.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/stdafx.h b/plugins/PluginUpdater/src/stdafx.h index 9c0ecbff67..57f173b294 100644 --- a/plugins/PluginUpdater/src/stdafx.h +++ b/plugins/PluginUpdater/src/stdafx.h @@ -193,6 +193,23 @@ public: }
};
+class ThreadWatch
+{
+ DWORD &pId;
+
+public:
+ ThreadWatch(DWORD &_1) :
+ pId(_1)
+ {
+ pId = ::GetCurrentThreadId();
+ }
+
+ ~ThreadWatch()
+ {
+ pId = 0;
+ }
+};
+
///////////////////////////////////////////////////////////////////////////////
struct ServListEntry
@@ -227,7 +244,6 @@ void InitListNew(); void InitCheck();
void CreateTimer();
-void UnloadCheck();
void UnloadListNew();
void UnloadNetlib();
|