2023-09-26 22:57:18 +03:00
|
|
|
package SapforTestingSystem.SapforTestingPlaner;
|
|
|
|
|
import SapforTestingSystem.ThreadsPlanner.ThreadsPlanner;
|
|
|
|
|
public class SapforTestingPlanner extends ThreadsPlanner {
|
|
|
|
|
public SapforTestingPlanner() {
|
|
|
|
|
super(2000, 4);
|
|
|
|
|
//--
|
2023-09-29 22:17:44 +03:00
|
|
|
/*
|
2023-09-26 22:57:18 +03:00
|
|
|
for (int i = 1; i <= 20; ++i) {
|
|
|
|
|
int thread_number = i;
|
|
|
|
|
addThread(() -> {
|
|
|
|
|
for (int j=1; j<=4; ++j) {
|
|
|
|
|
Global.Log.Print("thread " + thread_number+" j="+j);
|
|
|
|
|
Utils.sleep(1000);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
2023-09-29 22:17:44 +03:00
|
|
|
*/
|
2023-09-26 22:57:18 +03:00
|
|
|
}
|
|
|
|
|
}
|