mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
second attempt to fix the compilation
This commit is contained in:
@@ -389,7 +389,7 @@ PgfDB::~PgfDB()
|
|||||||
if (fd < 0) {
|
if (fd < 0) {
|
||||||
pthread_rwlock_destroy(&ms->rwlock);
|
pthread_rwlock_destroy(&ms->rwlock);
|
||||||
pthread_mutex_destroy(&ms->write_mutex);
|
pthread_mutex_destroy(&ms->write_mutex);
|
||||||
pthread_mutex_destroy(&ms->rel_mutex);
|
pthread_mutex_destroy(&ms->rev_mutex);
|
||||||
::free(ms);
|
::free(ms);
|
||||||
::free(base);
|
::free(base);
|
||||||
} else
|
} else
|
||||||
@@ -1676,6 +1676,7 @@ void PgfDB::resize_map(size_t new_size)
|
|||||||
throw pgf_systemerror(res);
|
throw pgf_systemerror(res);
|
||||||
#else
|
#else
|
||||||
while(true) {
|
while(true) {
|
||||||
|
LONG temp;
|
||||||
while(true) {
|
while(true) {
|
||||||
temp = ms->rwlock;
|
temp = ms->rwlock;
|
||||||
assert(Writer(temp));
|
assert(Writer(temp));
|
||||||
|
|||||||
Reference in New Issue
Block a user