Search Results
OK to copy?
Examples 1 through 10 of
32 (0.0050 seconds)
Class:
org.example.junit.ThreadedOutput
©,
Rating:
100% of 1,
C1
Class: org.springframework.aop.interceptor.ConcurrencyThrottleInterceptorTests ©, Rating: 0% of 0, C2
Class: org.springframework.aop.target.ThreadLocalTargetSourceTests ©, Rating: 0% of 0, C1
jgoodies_validation Class: com.jgoodies.validation.tutorial.performance.Worker ©, Rating: 0% of 0, C1
Class: org.springframework.aop.framework.autoproxy.metadata.AbstractMetadataAutoProxyTests ©, Rating: 0% of 0, C1
Class: org.apache.axis.wsdl.gen.Parser ©, Rating: 0% of 0, C2
Class: org.apache.axis.wsdl.gen.Parser ©, Rating: 0% of 0, C2
Class: org.apache.tools.ant.taskdefs.ExecuteWatchdogTest ©, Rating: 0% of 0, C1
Class: org.apache.tools.ant.taskdefs.ExecuteWatchdogTest ©, Rating: 0% of 0, C1
Class: org.apache.tools.ant.taskdefs.PumpStreamHandler ©, Rating: 0% of 0, C1
Class: org.springframework.aop.interceptor.ConcurrencyThrottleInterceptorTests ©, Rating: 0% of 0, C2
079 for (int i = 0; i < NR_OF_THREADS; i++) {
080 try {
081 threads[i].join();
082 }
083 catch (InterruptedException ex) {
Class: org.springframework.aop.target.ThreadLocalTargetSourceTests ©, Rating: 0% of 0, C1
jgoodies_validation Class: com.jgoodies.validation.tutorial.performance.Worker ©, Rating: 0% of 0, C1
098 }
099 try {
100 t.join();
101 } catch (InterruptedException e) {
102 Thread.currentThread().interrupt(); // propagate
Class: org.springframework.aop.framework.autoproxy.metadata.AbstractMetadataAutoProxyTests ©, Rating: 0% of 0, C1
211 Thread t = new Thread(r);
212 t.start();
213 t.join();
214 // Inner class didn't change outer thread's value
215 assertEquals(nameForMainThread, test.getName());
Class: org.apache.axis.wsdl.gen.Parser ©, Rating: 0% of 0, C2
217 wsdlThread.join(timeoutms);
218 else
219 wsdlThread.join();
220 } catch (InterruptedException e) {
221 }
Class: org.apache.axis.wsdl.gen.Parser ©, Rating: 0% of 0, C2
Class: org.apache.tools.ant.taskdefs.ExecuteWatchdogTest ©, Rating: 0% of 0, C1
154
155 // wait for the thread to die, should be the end of the process
156 thread.join();
157
158 // process should be dead and well finished
Class: org.apache.tools.ant.taskdefs.ExecuteWatchdogTest ©, Rating: 0% of 0, C1
148
149 // wait for TIME_OUT/2, there should be about TIME_OUT/2 ms remaining before timeout
150 thread.join(TIME_OUT/2);
151
152 // now stop the watchdog.
Class: org.apache.tools.ant.taskdefs.PumpStreamHandler ©, Rating: 0% of 0, C1
140 if (inputThread != null) {
141 try {
142 inputThread.join();
143 } catch (InterruptedException e) {
144 // ignore