Hi Anatoly,
yes, the function move the pointer used by the process to a local
variable with a different debug level. When resetting, the pointer is
moved back to the shared mem value.
Regards,
Bogdan
Anatoly Pidruchny wrote:
Bogdan,
just interesting, how did you implement changing the debug level per
process for a script section? The value of the debug level is stored
in the shared memory now and is shared between all the processes. Do
you temporarily change the debug pointer to point to a value in the
private process memory when a script section is executed?
Regards,
Anatoly.
Revision: 2478
http://openser.svn.sourceforge.net/openser/?rev=2478&view=rev
Author: bogdan_iancu
Date: 2007-07-19 01:23:28 -0700 (Thu, 19 Jul 2007)
Log Message:
-----------
- new core script function - setdebug([leve]) - it can be used to
change the
debug level (per process) for a script section.
Modified Paths:
--------------
trunk/action.c
trunk/cfg.lex
trunk/cfg.y
trunk/dprint.c
trunk/dprint.h
trunk/route.c
trunk/route_struct.c
trunk/route_struct.h
This was sent by the SourceForge.net collaborative development
platform, the world's largest Open Source development site.
_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel
_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel