[Xorp-cvs] XORP cvs commit: xorp/policy/backend

Andrea Bittau abittau@icir.org
Sun, 4 Sep 2005 20:52:32 GMT


CVSROOT:	/usr/local/www/data/cvs
Module name:	xorp
Changes by:	abittau@xorpc.icir.org	2005-09-04 20:52:32 UTC

XORP CVS repository


Modified files:
	policy/backend single_varrw.cc 

Log message:
	keep semantics of old interface.
	
	call start_read(), check if client initialized element.  Only if (s)he didn't,
	then call single_read().
	
	This will avoid all the XLOG_UNREACHABLE i put in the old clients which still haven't
	been updated to use the faster single_read() interface...
	
	In the long run, only the single_read() interface should be supported, and the old
	eliminated... in order to avoid checking the map each time [slowing things down!]

Revision  Changes                               Path
1.8       +11 -3;  commitid: 2611431b5dfd7ea6;  xorp/policy/backend/single_varrw.cc