almost finised mpi migration
This commit is contained in:
		@ -36,8 +36,6 @@
 | 
			
		||||
#	include <unistd.h>
 | 
			
		||||
#	include <signal.h>
 | 
			
		||||
#	include <errno.h>
 | 
			
		||||
#	include <ltdl.h>
 | 
			
		||||
#	define USE_LTDL
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* these three definitions for doxygen cross-reference */
 | 
			
		||||
@ -58,6 +56,8 @@ public:
 | 
			
		||||
		idLastSleep = addGlobal (QSE_T("LAST_SLEEP"));
 | 
			
		||||
		if (idLastSleep <= -1) goto oops;
 | 
			
		||||
 | 
			
		||||
		/* this is for demonstration only. 
 | 
			
		||||
		 * you can use sys::sleep() instead */
 | 
			
		||||
		if (addFunction (QSE_T("sleep"), 1, 1,
 | 
			
		||||
		    	(FunctionHandler)&MyAwk::sleep) <= -1) goto oops;
 | 
			
		||||
 | 
			
		||||
@ -470,16 +470,8 @@ int qse_main (int argc, qse_achar_t* argv[])
 | 
			
		||||
	qse_setdflcmgrbyid (QSE_CMGR_SLMB);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(USE_LTDL)
 | 
			
		||||
	lt_dlinit ();
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
	ret = qse_runmain (argc, argv, awk_main);
 | 
			
		||||
 | 
			
		||||
#if defined(USE_LTDL)
 | 
			
		||||
	lt_dlexit ();
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(_WIN32)
 | 
			
		||||
	WSACleanup ();
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user