Update of /cvsroot/monetdb/MonetDB5/src/modules/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1442/mal
Modified Files:
recycle.mx
Log Message:
New signatures for the prelude() and postlude() for the recycler.
Index: recycle.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/recycle.mx,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- recycle.mx 16 Mar 2008 15:06:58 -0000 1.19
+++ recycle.mx 18 Mar 2008 06:59:51 -0000 1.20
@@ -76,7 +76,15 @@
command monitor(f:int):void
address RECYCLEmonitor
-comment "start/stop the monitoring (printing) of the recycler info (storage
size used and number of statements retained)"
+comment "start/stop the monitoring (printing) of the recycler info (storage
size used and number of statements retained)";
+
+pattern prelude():void
+address RECYCLEprelude
+comment "Called at the start of a recycle controlled function";
+
+pattern epilogue():void
+address RECYCLEepilogue
+comment "Called at the start of a recycle controlled function";
@h
#ifndef _RECYCLE_
#define _RECYCLE_
@@ -271,4 +279,19 @@
monitorRecycler = *p;
return MAL_SUCCEED;
}
+
+str
+RECYCLEprelude(MalBlkPtr mb, MalStkPtr stk, InstrPtr p){
+ (void) stk;
+ (void) p;
+ RECYCLEversion(mb);
+ return MAL_SUCCEED;
+}
+str
+RECYCLEepilogue(MalBlkPtr mb, MalStkPtr stk, InstrPtr p){
+ (void) mb;
+ (void) stk;
+ (void) p;
+ return MAL_SUCCEED;
+}
@}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins