This message was forwarded from [email protected]. The MonetDB
mailing lists have moved to monetdb.org. Please subscribe to
[email protected], and unsubscribe from this list.
See: http://mail.monetdb.org/mailman/listinfo/developers-list
Send developers-list mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.monetdb.org/mailman/listinfo/developers-list
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of developers-list digest..."
Today's Topics:
1. Re: MonetDB: default - Cleanup code upon request. (Fabian Groffen)
----------------------------------------------------------------------
Message: 1
Date: Thu, 15 Nov 2012 08:36:47 +0100
From: Fabian Groffen <[email protected]>
To: [email protected]
Subject: Re: MonetDB: default - Cleanup code upon request.
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
On 15-11-2012 08:31:51 +0100, Martin Kersten wrote:
> +/* There is just a single queue for the workers */
> static void
> MRqueueCreate(int sz)
> {
> @@ -54,14 +55,21 @@ MRqueueCreate(int sz)
> MT_lock_init(&mrqlock, "q_create");
> MT_lock_set(&mrqlock, "q_create");
> MT_sema_init(&mrqsema, 0, "q_create");
> - sz = ((sz << 1) >> 1); /* we want a multiple of 2 */
> + if ( mrqueue ) {
> + GDKerror("One map-reduce queue allowed");
> + return;
> + }
> + sz *= 2;
> mrqueue = (MRqueue *) GDKzalloc(sizeof(MRqueue) * sz);
> - assert(mrqueue);
> + if ( mrqueue == 0) {
> + GDKerror("Could not create the map-reduce queue");
> + return;
shouldn't you unset the mrqlock here?
> + }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: Digital signature
URL:
<http://mail.monetdb.org/pipermail/developers-list/attachments/20121115/beb639f4/attachment.sig>
------------------------------
_______________________________________________
developers-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/developers-list
End of developers-list Digest, Vol 3, Issue 8
*********************************************
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Monetdb-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-developers