[Monetdb-developers] [Monetdb-checkins] MonetDB/src/gdk gdk_bbp.mx, , 1.201, 1.202

Sjoerd Mullender sjoerd at acm.org
Mon Aug 6 09:39:42 CEST 2007


Should this be back-ported to the stable branch?

Peter Boncz wrote:
> Update of /cvsroot/monetdb/MonetDB/src/gdk
> In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30287/src/gdk
> 
> Modified Files:
> 	gdk_bbp.mx 
> Log Message:
> - race condition in BBOclear
> 
> 
> 
> Index: gdk_bbp.mx
> ===================================================================
> RCS file: /cvsroot/monetdb/MonetDB/src/gdk/gdk_bbp.mx,v
> retrieving revision 1.201
> retrieving revision 1.202
> diff -u -d -r1.201 -r1.202
> --- gdk_bbp.mx	22 Jun 2007 06:46:53 -0000	1.201
> +++ gdk_bbp.mx	5 Aug 2007 23:00:50 -0000	1.202
> @@ -1116,7 +1116,7 @@
>  		THRprintf(GDKout, "#clear %d (%s)\n", (int) i, BBPname(i));
>  	}
>  	BBPuncacheit_(i, TRUE);
> -	BBP_status_set(i, 0, "BBPclear");
> +	BBP_status_set(i, BBPUNLOADING, "BBPclear");
>  	BBP_refs(i) = 0;
>  	BBP_lrefs(i) = 0;
>  	if (lock)
> @@ -1137,6 +1137,7 @@
>  	}
>  	if (BBP_logical(i) != BBP[ABS(i)].bak[(i) < 0])
>  		GDKfree(BBP_logical(i));
> +	BBP_status_set(i, 0, "BBPclear");
>  	BBP_logical(i) = NULL;
>  	BBP_next(i) = BBP_free(idx);
>  	BBP_free(idx) = i;
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Monetdb-checkins mailing list
> Monetdb-checkins at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-checkins


-- 
Sjoerd Mullender

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 370 bytes
Desc: OpenPGP digital signature
URL: <http://www.monetdb.org/pipermail/developers-list/attachments/20070806/737745bd/attachment.sig>


More information about the developers-list mailing list