diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-13 10:50:59 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-13 10:50:59 +0000 |
commit | 5df94ff719eccd04c7450df35fb5e3f2b36e2ee7 (patch) | |
tree | 440d736b199ff849ca0619adf355ffc73750ca7f /protocols/IRCG/src/irc.h | |
parent | 70496fb739225b559a251f4518c946110aef718c (diff) |
wrapping the most evident critical sections into a class
git-svn-id: http://svn.miranda-ng.org/main/trunk@9785 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IRCG/src/irc.h')
-rw-r--r-- | protocols/IRCG/src/irc.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/IRCG/src/irc.h b/protocols/IRCG/src/irc.h index 89f2edd82d..b74ff0b710 100644 --- a/protocols/IRCG/src/irc.h +++ b/protocols/IRCG/src/irc.h @@ -348,10 +348,10 @@ struct CIrcProto : public PROTO<CIrcProto> OBJLIST<CMString> vUserhostReasons;
OBJLIST<CMString> vWhoInProgress;
- CRITICAL_SECTION cs;
- CRITICAL_SECTION m_gchook;
- CRITICAL_SECTION m_resolve;
- HANDLE m_evWndCreate;
+ mir_cs cs;
+ mir_cs m_gchook;
+ mir_cs m_resolve;
+ HANDLE m_evWndCreate;
CMString m_statusMessage;
int m_iTempCheckTime;
@@ -536,7 +536,7 @@ protected : LIST<CDccSession> m_dcc_xfers;
private :
- CRITICAL_SECTION m_dcc; // protect the dcc objects
+ mir_cs m_dcc; // protect the dcc objects
void createMessageFromPchar( const char* p );
void Notify(const CIrcMessage* pmsg);
|