package de.atrsoft.successorofoak.utilities.logging.atrshmlog.tests;

/**
 * We import our jni test layer.
 */
import de.atrsoft.successorofoak.utilities.logging.atrshmlog.ATRSHMLOG;

import de.atrsoft.successorofoak.utilities.logging.atrshmlog.ATRSHMLOG.atrshmlog_error;

import de.atrsoft.successorofoak.utilities.logging.atrshmlog.ATRSHMLOG.atrshmlog_counter;

import de.atrsoft.successorofoak.utilities.logging.atrshmlog.ATRSHMLOG.atrshmlog_strategy;

public class ATRSHMLOGTestWaitForSlaves {

    ///////////////////////////////////////////////////////
    // we start here and execute as a demo
    public static void main(String args[]) {
	ATRSHMLOG theLog = new ATRSHMLOG();


	int result = theLog.attach();

	int flag = theLog.getWaitForSlaves();
	
	System.out.println("ATRSHMLOGTestWaitForSlaves : " + flag  + " : ");

	int old  = theLog.setWaitForSlavesOn();

	System.out.println("ATRSHMLOGTestWaitForSlaves : " + old  + " : ");

	flag = theLog.getWaitForSlaves();
	
	System.out.println("ATRSHMLOGTestWaitForSlaves : " + flag  + " : ");

	old  = theLog.setWaitForSlavesOff();

	System.out.println("ATRSHMLOGTestWaitForSlaves : " + old  + " : ");

	flag = theLog.getWaitForSlaves();
	
	System.out.println("ATRSHMLOGTestWaitForSlaves : " + flag  + " : ");

	old  = theLog.setWaitForSlavesOn();

	System.out.println("ATRSHMLOGTestWaitForSlaves : " + old  + " : ");

	flag = theLog.getWaitForSlaves();
	
	System.out.println("ATRSHMLOGTestWaitForSlaves : " + flag  + " : ");

	
	System.out.println(" ");
    }

}

/* end of file */

@@ -1476,16 +1476,228 @@
  : %22);%0A%0A
+%09// we have to switch off or the slaves will not go down%0A%09// this hangs on mingw - on the others it semm NOT to hang...%0A%09// so i wonder if mingw is the only to do it right...%0A%09theLog.setLoggingProcessOffFinal();%0A
 %09%0A%09Syste

add aswitch off