142143144145146147148149150151152
TaskCancelThread tct = new TaskCancelThread(1, taskRunner, this); tct.start(); try { tct.join(); taskRunner.join(); } catch(InterruptedException ie) { Assert.fail("Joining threads failed"); }
106107108109110111112113114115116
181182183184185186187188189190191
TaskCancelThread tct = new TaskCancelThread(1, taskRunner, testTask); tct.start(); try { tct.join(); taskRunner.join(); } catch(InterruptedException ie) { Assert.fail("Joining threads failed"); }
213214215216217218219220221222223
254255256257258259260261262263264
TaskCancelThread tct = new TaskCancelThread(2, taskRunner, this); tct.start(); try { tct.join(); taskRunner.join(); } catch(InterruptedException ie) { Assert.fail("Joining threads failed"); }
416417418419420421422423424425426
467468469470471472473474475476477
513514515516517518519520521522523
776777778779780781782783784785786
820821822823824825826827828829830