mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-08 10:42:50 -06:00
on POSIX systems use mprotect to protect the data from accidental changes
This commit is contained in:
@@ -153,7 +153,7 @@ private:
|
||||
PGF_INTERNAL_DECL void lock(DB_scope_mode m);
|
||||
PGF_INTERNAL_DECL void unlock();
|
||||
|
||||
PGF_INTERNAL_DECL void resize_map(size_t new_size);
|
||||
PGF_INTERNAL_DECL void resize_map(size_t new_size, bool writeable);
|
||||
|
||||
friend class DB_scope;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user