Changeset: 13629a6ec981 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=13629a6ec981
Modified Files:
        gdk/gdk_hash.c
Branch: partioned-hash
Log Message:

Thinko: fix conditional.


diffs (21 lines):

diff --git a/gdk/gdk_hash.c b/gdk/gdk_hash.c
--- a/gdk/gdk_hash.c
+++ b/gdk/gdk_hash.c
@@ -362,7 +362,7 @@ BATparthash(BAT *b, Hash *h, int piece)
        }
 }
 
-#ifdef DISABLE_HASHSYNC
+#ifndef DISABLE_HASHSYNC
 static void
 BAThashsync(void *arg)
 {
@@ -461,7 +461,7 @@ BAThash(BAT *b)
                b->T->hash = h;
                /* unlock before potentially expensive sync */
                MT_lock_unset(&GDKhashLock(abs(b->batCacheid)), "BAThash");
-#ifdef DISABLE_HASHSYNC
+#ifndef DISABLE_HASHSYNC
                if (BBP_status(b->batCacheid) & BBPEXISTING) {
                        MT_Id tid;
                        MT_create_thread(&tid, BAThashsync, hp, 
MT_THR_DETACHED);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to