Changeset: 517e988508cc for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/517e988508cc
Modified Files:
        monetdb5/modules/mal/tracer.c
Branch: default
Log Message:

No need to lock.


diffs (19 lines):

diff --git a/monetdb5/modules/mal/tracer.c b/monetdb5/modules/mal/tracer.c
--- a/monetdb5/modules/mal/tracer.c
+++ b/monetdb5/modules/mal/tracer.c
@@ -138,15 +138,12 @@ TRACERcomp_info(Client cntxt, MalBlkPtr 
        }
 
     // Fill the BATs
-    MT_lock_set(&mal_delayLock);
        if(GDKtracer_fill_comp_info(id, component, log_level) != GDK_SUCCEED) {
-               MT_lock_unset(&mal_delayLock);
                BBPunfix(id->batCacheid);
                BBPunfix(component->batCacheid);
                BBPunfix(log_level->batCacheid);
                throw(MAL, "logging.compinfo", GDK_EXCEPTION);
        }
-    MT_lock_unset(&mal_delayLock);
 
     *i = id->batCacheid;
     BBPkeepref(id);
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to