Changeset: 3c796b75a5e0 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3c796b75a5e0
Modified Files:
        monetdb5/modules/mal/tablet.c
Branch: resultset
Log Message:

Don't destroy the same semaphore multiple times.
This fixes crashes on FreeBSD.


diffs (13 lines):

diff --git a/monetdb5/modules/mal/tablet.c b/monetdb5/modules/mal/tablet.c
--- a/monetdb5/modules/mal/tablet.c
+++ b/monetdb5/modules/mal/tablet.c
@@ -1785,9 +1785,6 @@ SQLload_file(Client cntxt, Tablet *as, b
                MT_join_thread(task->tid);
        }
 
-       MT_sema_destroy(&ptask[j].producer);
-       MT_sema_destroy(&ptask[j].consumer);
-
        // await completion of the BAT syncs 
        for (j = 0; j < threads; j++)
                MT_sema_down(&ptask[j].reply, "SQLload_file");
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to