Lines Matching defs:suspend
32 private boolean suspend;
34 public ThreadPauser(boolean suspend) {
36 this.suspend = suspend;
40 this.suspend = false;
46 if (suspend) {
47 Suspension.suspend(paused_thread);
54 if (suspend) {
63 if (suspend) {
156 System.out.println("owner-monitors, no suspend, Other thread");
160 System.out.println("owner-monitors, suspend, Other thread");
168 System.out.println("owner-monitors-stack-depth, no suspend, other thread");
172 System.out.println("owner-monitors-stack-depth, suspend, other thread");
177 public static void runTestsOtherThread(String name, boolean suspend, Consumer<Thread> printer) {
178 final Target t = new Target("Other thread test (suspend: " + suspend + "): " + name);
208 final ThreadPauser pause = new ThreadPauser(suspend);