Changeset: aa1d8033c357 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/aa1d8033c357
Modified Files:
        monetdb5/modules/mal/heapn.c
Branch: pp_hashjoin
Log Message:

use normal increment (its under a mutex anyway)


diffs (12 lines):

diff --git a/monetdb5/modules/mal/heapn.c b/monetdb5/modules/mal/heapn.c
--- a/monetdb5/modules/mal/heapn.c
+++ b/monetdb5/modules/mal/heapn.c
@@ -1612,7 +1612,7 @@ HEAPtopn(Client cntxt, MalBlkPtr m, MalS
                        nsh->in = BATdescriptor(*in);
                        if (!nsh->in) {
                                if (!private) {
-                                       ATOMIC_INC(&hps->unused);
+                                       hps->unused++;
                                        pipeline_unlock1(hps);
                                }
                                for(nsh = sh; nsh; nsh = nsh->sub) {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to