diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-10 08:57:15 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-10 08:57:15 +0000 |
commit | 0c8232561f94cbf801c8c5415841d05fac9402f7 (patch) | |
tree | f5da1c1c9af6ae1222db123df16ae8fdb2424888 /src/modules/database/database.h | |
parent | 28f76deeabfe071bf78f19f438b795ee7f0a10c4 (diff) |
write locks for MDatabaseCache
git-svn-id: http://svn.miranda-ng.org/main/trunk@4410 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/database/database.h')
-rw-r--r-- | src/modules/database/database.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/database/database.h b/src/modules/database/database.h index e484d341e5..dbecd9dc08 100644 --- a/src/modules/database/database.h +++ b/src/modules/database/database.h @@ -26,6 +26,7 @@ class MDatabaseCache : public MIDatabaseCache HANDLE m_hCacheHeap;
char* m_lastSetting;
DBCachedContact *m_lastVL;
+ CRITICAL_SECTION m_cs;
LIST<DBCachedContact> m_lContacts;
LIST<DBCachedGlobalValue> m_lGlobalSettings;
|