summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.h
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2019-02-17 18:38:51 +0500
committerElzorFox <elzorfox@ya.ru>2019-02-17 18:38:51 +0500
commit7d75ffb5f4305150b89485c171ee738358516849 (patch)
tree59ece2a39c7e721e71885f8596ebde06e87e10dd /protocols/VKontakte/src/vk_proto.h
parent2848cd0222441a3347da4992597d1dae0801693c (diff)
VKontakte:
crutch for unfreeze threads if connection freeze version bump
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.h')
-rw-r--r--protocols/VKontakte/src/vk_proto.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h
index 64bfc9c29d..876d365853 100644
--- a/protocols/VKontakte/src/vk_proto.h
+++ b/protocols/VKontakte/src/vk_proto.h
@@ -117,6 +117,7 @@ struct CVkProto : public PROTO<CVkProto>
void CreateNewChat(LPCSTR uids, LPCWSTR pwszTitle);
__forceinline bool IsOnline() const { return m_bOnline; }
+ bool CheckHealthThreads();
void OnTimerTic();
void ClearAccessToken();
wchar_t* GetUserStoredPassword(void);
@@ -206,7 +207,13 @@ private:
m_csChatTyping,
m_csLoadHistoryTask,
m_csRequestsQueue,
- m_csSetStatus;
+ m_csSetStatus,
+ m_csWorkThreadTimer,
+ m_csPoolThreadTimer;
+
+ time_t
+ m_tWorkThreadTimer,
+ m_tPoolThreadTimer;
int m_iLoadHistoryTask;