MonetDB: Feb2013 - Make MALresource independent of cntxt and mb

Sjoerd Mullender sjoerd at monetdb.org
Mon Mar 4 18:56:26 CET 2013


What does this have to do with the message you're responding to?  Please
start a new email thread when you introduce a new subject.  Just send
mail to the mailing list with a proper subject.

On 2013-03-04 18:04, Chi-Young Ku wrote:
> Hi,
> 
>     I would like to include
> "$(top_builddir)/monetdb5/modules/kernel/algebra.h in
> $(top_srcdir)/sql/server/rel_optimizer.h.  I modified
> $(top_srcdir)/sql/server/Makefile.in.  But, this file is generated
> during configuration. 
> 
>     Could you explain how I would modify the configuration script to
> include "$(top_builddir)/monetdb5/modules/kernel/" in the INCLUDES
> varialbe for sql/server?

Edit the file sql/server/Makefile.ag in the directory and add
../../monetdb5/modules/kernel to the list of INCLUDES.  Then run
./bootstrap, and then the normal configure; make; make install.

> 
>     Thanks in advance.
> 
> Chi
> 
> 
> ------------------------------------------------------------------------
> *From:* Fabian Groffen <fabian at monetdb.org>
> *To:* developers-list at monetdb.org
> *Sent:* Tuesday, February 26, 2013 8:57 AM
> *Subject:* Re: MonetDB: Feb2013 - Make MALresource independent of cntxt
> and mb
> 
> Any reason for undoing 0f30e64e9bb2?
> 
> On 26-02-2013 14:52:15 +0100, Martin Kersten wrote:
>> Changeset: 33a1b7bfcb28 for MonetDB
>> URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=33a1b7bfcb28
>> Modified Files:
>>     monetdb5/mal/mal_dataflow.c
>>     monetdb5/mal/mal_interpreter.c
>>     monetdb5/mal/mal_resource.c
>>     monetdb5/mal/mal_resource.h
>> Branch: Feb2013
>> Log Message:
>>
>> Make MALresource independent of cntxt and mb
>>
>>
>> diffs (87 lines):
>>
>> diff --git a/monetdb5/mal/mal_dataflow.c b/monetdb5/mal/mal_dataflow.c
>> --- a/monetdb5/mal/mal_dataflow.c
>> +++ b/monetdb5/mal/mal_dataflow.c
>> @@ -328,13 +328,13 @@ DFLOWworker(void *t)
>>              }
>>          MT_lock_unset(&flow->flowlock, "MALworker");
>> 
>> +        q_enqueue(flow->done, fe);
>>          if ( fnxt == 0) {
>>              if (todo->last == 0)
>>                  profilerHeartbeatEvent("wait");
>>              else
>> -                MALresourceFairness(flow->cntxt, flow->mb, usec);
>> +                MALresourceFairness(usec);
>>          }
>> -        q_enqueue(flow->done, fe);
>>      }
>>      GDKfree(GDKerrbuf);
>>      GDKsetbuf(0);
> 
> -- 
> Fabian Groffen                              fabian at monetdb.org
> <mailto:fabian at monetdb.org>
> column-store pioneer              http://www.monetdb.org/Home
> _______________________________________________
> developers-list mailing list
> developers-list at monetdb.org <mailto:developers-list at monetdb.org>
> http://mail.monetdb.org/mailman/listinfo/developers-list
> 
> 
> 
> 
> _______________________________________________
> developers-list mailing list
> developers-list at monetdb.org
> http://mail.monetdb.org/mailman/listinfo/developers-list
> 


-- 
Sjoerd Mullender

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


More information about the developers-list mailing list