Tuesday, March 29, 2011 at 1:07 AM.


on runBuildThread () {
		<<3/27/11; 1:56:00 PM by DW
			<<Run the afterScan process in its own thread. Avoid re-entrant calls. 
	if system.temp.river2.flStaticBuild {
		if defined (system.temp.river2.idAfterScanThread) {
			if thread.exists (system.temp.river2.idAfterScanThread) { //it's still running
				if not defined (system.temp.river2.ctReEntrantCalls) {
					system.temp.river2.ctReEntrantCalls = 0};
		system.temp.river2.idAfterScanThread = thread.callscript (@river2Suite.static.afterScan, {});
		system.temp.river2.flStaticBuild = false}}

This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.