We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16b9963 commit b8c1ab5Copy full SHA for b8c1ab5
sqldev/src/main/java/org/utplsql/sqldev/model/SystemTools.java
@@ -28,4 +28,12 @@ public static void sleep(int millis) {
28
Thread.currentThread().interrupt();
29
}
30
31
+
32
+ public static void waitForThread(Thread thread, int maxTimeInMillis) {
33
+ try {
34
+ thread.join(maxTimeInMillis);
35
+ } catch (InterruptedException e) {
36
+ Thread.currentThread().interrupt();
37
+ }
38
39
0 commit comments