diff options
author | ElzorFox <elzorfox@ya.ru> | 2019-02-17 18:38:51 +0500 |
---|---|---|
committer | ElzorFox <elzorfox@ya.ru> | 2019-02-17 18:38:51 +0500 |
commit | 7d75ffb5f4305150b89485c171ee738358516849 (patch) | |
tree | 59ece2a39c7e721e71885f8596ebde06e87e10dd /protocols/VKontakte/src/vk_proto.h | |
parent | 2848cd0222441a3347da4992597d1dae0801693c (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.h | 9 |
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;
|