8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 04:03:03 +01:00
This commit is contained in:
dimitr 2008-02-04 19:19:05 +00:00
parent 7663e94024
commit eccd4c00ca

View File

@ -38,14 +38,13 @@ class DatabaseSnapshot {
class SharedMemory {
static const size_t VERSION;
static const size_t DEFAULT_SIZE;
static const size_t SEMAPHORES;
struct Header {
size_t version;
size_t length;
#ifndef WIN_NT
#ifndef WIN_NT
MTX_T mutex;
#endif
#endif
};
public:
@ -70,9 +69,9 @@ class DatabaseSnapshot {
static void init(void*, SH_MEM_T*, bool);
SH_MEM_T handle;
#ifdef WIN_NT
#ifdef WIN_NT
MTX_T mutex;
#endif
#endif
Header* base;
};