Instance 0

Centrality↓:101.4822887533458  Popularity↓:2.0  specifity↑:2.2603294069810542E-6
        Thread t = new Thread(new Runnable() {@Override public void run() {
            throw new RuntimeException();
        }});
        t.start();
        t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class540.java


Instance 1

Centrality↓:101.4822887533458  Popularity↓:2.0  specifity↑:2.2603294069810542E-6
    Thread trd = new Thread(new Runnable() {
      public void run() {
        foo.value = 42;
      }
    });
    trd.start();
      trd.join();

Path:D:\JavaApiSearchResult\Thread.join\Class310.java


Instance 2

Centrality↓:101.47854017462177  Popularity↓:2.0  specifity↑:2.2603294069810542E-6
      Thread t = new Thread(subgroup, new Runnable() {
        @Override
        public void run() {
          throw new TestException("exceptionFromSubGroup");
        }
      });
      t.start();
      t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class40.java


Instance 3

Centrality↓:101.47854017462177  Popularity↓:2.0  specifity↑:2.2603294069810542E-6
        Thread t = new Thread(new Runnable() { 
            public void run() { 
                StreamSinkClient.main(new String[] { HOST2, PORT2, kb+"", msBetweenWrites+"""streamSinkTestServer.key" });
            }
        });
        t.start();
            t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class360.java


Instance 4

Centrality↓:101.51017246007139  Popularity↓:2.0  specifity↑:1.3752207719531069
        connectedChannelMock.setReadData("can't read this");
        ReadBlocking readRunnable = new ReadBlocking(connectedChannelMock, Buffers.EMPTY_BYTE_BUFFER);
        Thread readThread = new Thread(readRunnable);
        readThread.start();
        readThread.join();
        assertFalse(readThread.isAlive());
        assertEquals(0, readRunnable.getReadResult());

Path:D:\JavaApiSearchResult\Thread.join\Class600.java


Instance 5

Centrality↓:101.47854017462177  Popularity↓:2.0  specifity↑:2.2603294069810542E-6
        Thread t = new Thread(new Runnable() { 
            public void run() { 
                StreamSinkSend.main(new String[] { filename, "0""streamSinkTestLiveServer.key" });
            }
        }"client " + filename);
        t.start();
        try t.join()catch (Exception e) {}

Path:D:\JavaApiSearchResult\Thread.join\Class180.java


Instance 6

Centrality↓:101.47854017462176  Popularity↓:2.0  specifity↑:2.2603294069810542E-6
        Thread t = new Thread(new Runnable() {
            public void run() {
                zone[0= getTestDataTimeZoneBuilder().toDateTimeZone("TestDTZ2"true);
            }
        });
        t.start();
        t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class610.java


Instance 7

Centrality↓:101.44502144790405  Popularity↓:2.0  specifity↑:0.049787068367863944
        Thread t = new Thread(new CheckedRunnable() {
            public void realRun() {
                LockSupport.parkNanos(1000);
            }});
        t.start();
        t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class540.java


Instance 8

Centrality↓:101.44502144790405  Popularity↓:2.0  specifity↑:0.049787068367863944
        Thread t = new Thread(new CheckedRunnable() {
            public void realRun() {
                long d = new Date().getTime() 100;
                LockSupport.parkUntil(d);
            }});
        t.start();
        t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class550.java


Instance 9

Centrality↓:101.43773404117057  Popularity↓:2.0  specifity↑:0.01831563888873418
        Thread thread = new Thread(group, new Test6657026());
        thread.start();
        thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class70.java


Instance 10

Centrality↓:101.43773404117057  Popularity↓:2.0  specifity↑:0.01831563888873418
        Thread thread = new Thread(group, new Test6657026());
        thread.start();
        thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class180.java


Instance 11

Centrality↓:101.43773404117056  Popularity↓:2.0  specifity↑:0.01831563888873418
        Thread thread = new Thread(group, new Test6657026());
        thread.start();
        thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class350.java


Instance 12

Centrality↓:101.43286733667675  Popularity↓:2.0  specifity↑:0.503214724408055
        final ThreadLocalValue<String> value = new ThreadLocalValue<String>();
        final ThreadLocalRunnable<String> runnable = new ThreadLocalRunnable<String>(value, "initialValue");
        final Thread thread = new Thread(runnable);
        thread.start();
        thread.join(30000);

Path:D:\JavaApiSearchResult\Thread.join\Class530.java


Instance 13

Centrality↓:101.42704127164322  Popularity↓:2.0  specifity↑:0.36787944117144233
    Thread thread = new Thread() {
      public void run() {
        fireTransactionEventAsync(transactionState);
      }
    };
    thread.start();
      thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class480.java


Instance 14

Centrality↓:101.42704127164322  Popularity↓:2.0  specifity↑:0.0
        Thread t = new Thread(pull);
        t.start();
        t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class640.java


Instance 15

Centrality↓:101.42704127164322  Popularity↓:2.0  specifity↑:0.0
        Thread t = new Thread(proc);
        t.start();
        t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class40.java


Instance 16

Centrality↓:101.42704127164322  Popularity↓:2.0  specifity↑:0.36787944117144233
        Thread driver = new Thread(new LowThroughput(10000L));
        driver.start();
        driver.join();

Path:D:\JavaApiSearchResult\Thread.join\Class460.java


Instance 17

Centrality↓:101.42704127164322  Popularity↓:2.0  specifity↑:0.36787944117144233
        Thread thread = new Thread(group, new Test6588003());
        thread.start();
        thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class180.java


Instance 18

Centrality↓:101.42704127164322  Popularity↓:2.0  specifity↑:0.0
        Thread t = new Thread("PowerManagerService.crash()") {
            @Override
            public void run() {
                throw new RuntimeException(message);
            }
        };
            t.start();
            t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class330.java


Instance 19

Centrality↓:101.42704127164322  Popularity↓:2.0  specifity↑:0.0
            Thread t = new Thread(rampWebSocketClient);
            t.start();
              t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class110.java


Instance 20

Centrality↓:101.42704127164322  Popularity↓:2.0  specifity↑:0.36787944117144233
        Thread driver = new Thread(new LeakThroughput());
        driver.start();
        driver.join();

Path:D:\JavaApiSearchResult\Thread.join\Class390.java


Instance 21

Centrality↓:101.4270412716432  Popularity↓:2.0  specifity↑:0.0
      Thread reader = new Thread(drainer);
      reader.start();
      reader.join();

Path:D:\JavaApiSearchResult\Thread.join\Class60.java


Instance 22

Centrality↓:101.4270412716432  Popularity↓:2.0  specifity↑:0.36787944117144233
        Thread cThread = new Thread(new Consumer(1));
        cThread.start();
            cThread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class680.java


Instance 23

Centrality↓:101.4270412716432  Popularity↓:2.0  specifity↑:0.0
    final Thread thread = new Thread(
        run);
    thread.start();
    thread.join(waitTime);

Path:D:\JavaApiSearchResult\Thread.join\Class400.java


Instance 24

Centrality↓:101.4270412716432  Popularity↓:2.0  specifity↑:0.0
        Thread t = new Thread(pull);
        t.start();
        t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class250.java


Instance 25

Centrality↓:101.4270412716432  Popularity↓:2.0  specifity↑:0.0
        Thread t = new Thread(push);
        t.start();
        t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class250.java


Instance 26

Centrality↓:101.4270412716432  Popularity↓:2.0  specifity↑:0.0
        Thread t = new Thread(push);
        t.start();
        t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class30.java


Instance 27

Centrality↓:101.4270412716432  Popularity↓:2.0  specifity↑:0.36787944117144233
        Thread thread = new Thread() {
            public void run() {
                lock.lock();
            }
        };
        thread.start();
        thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class50.java


Instance 28

Centrality↓:101.4270412716432  Popularity↓:2.0  specifity↑:0.36787944117144233
        Caller caller = new Caller(target, pattern);
        Thread thread =  new Thread(caller);
        thread.start();
        thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class300.java


Instance 29

Centrality↓:101.4270412716432  Popularity↓:2.0  specifity↑:0.7357588823428847
        mSource.setCallback(mCallback);
        Thread thread = new Thread() {
            @Override
            public void run() {
                mSource.waitForCallback();
            }
        };
        thread.start();
        thread.join(10);

Path:D:\JavaApiSearchResult\Thread.join\Class280.java


Instance 30

Centrality↓:101.4270412716432  Popularity↓:2.0  specifity↑:0.36787944117144233
        Thread thread = new Thread(group, new TestDesignTime());
        thread.start();
        thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class80.java


Instance 31

Centrality↓:101.4270412716432  Popularity↓:2.0  specifity↑:0.0
    final Thread t = new Thread(tgroup, "child thread") {
      public void run() {
        Random rnd = RandomizedContext.current().getRandom();
        guard += rnd.nextInt();
      }
    };
    t.start();
    t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class320.java


Instance 32

Centrality↓:101.4270412716432  Popularity↓:2.0  specifity↑:0.36787944117144233
        Thread t = new Thread(new RunBeforeInitEnds());
        t.start();
            t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class570.java


Instance 33

Centrality↓:101.4270412716432  Popularity↓:2.0  specifity↑:0.36787944117144233
        Thread thread = new Thread(group, new Test6660539());
        thread.start();
        thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class0.java


Instance 34

Centrality↓:101.4270412716432  Popularity↓:2.0  specifity↑:0.36787944117144233
        ThreadGroup group = new ThreadGroup("$$$")// NON-NLS: unique thread name
        Thread thread = new Thread(group, test);
        thread.start();
        thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class0.java


Instance 35

Centrality↓:101.36101981204948  Popularity↓:2.0  specifity↑:1.3752207719531069
        final Pipe pipe = new Pipe(100);
        final Thread awaitThread = new Thread(new AwaitTask(pipe));
        awaitThread.start();
        awaitThread.join(200);
        assertTrue(awaitThread.isAlive());
        close(pipe.getOut());

Path:D:\JavaApiSearchResult\Thread.join\Class570.java


Instance 36

Centrality↓:101.36101981204948  Popularity↓:2.0  specifity↑:1.3752207719531069
        final Pipe pipe = new Pipe(100);
        final Thread awaitThread = new Thread(new AwaitTask(pipe));
        awaitThread.start();
        awaitThread.join(200);
        assertTrue(awaitThread.isAlive());
        close(pipe.getIn());

Path:D:\JavaApiSearchResult\Thread.join\Class500.java


Instance 37

Centrality↓:101.36097667244913  Popularity↓:2.0  specifity↑:1.8403090878227661
        final Pipe pipe = new Pipe(100);
        final InputStream inputStream = pipe.getIn();
        final OutputStream outputStream = pipe.getOut();
        final ReadByteTask readTask = new ReadByteTask(inputStream);
        final Thread readThread = new Thread(readTask);
        readThread.start();
        readThread.join(200);
        assertTrue(readThread.isAlive());

Path:D:\JavaApiSearchResult\Thread.join\Class210.java


Instance 38

Centrality↓:101.36039654705284  Popularity↓:2.0  specifity↑:0.7366707643084391
        SendBlocking sendRunnable = new SendBlocking(messageChannelMock, "send this");
        Thread sendThread = new Thread(sendRunnable);
        sendThread.start();
        sendThread.join(50);
        assertTrue(sendThread.isAlive());

Path:D:\JavaApiSearchResult\Thread.join\Class380.java


Instance 39

Centrality↓:101.35617636344698  Popularity↓:2.0  specifity↑:2.2603294069810542E-6
            Thread t = new Thread(new Runnable() {
                public void run() {
                    new Foo(catchFinalizer);
                }});
            t.start();
            t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class290.java


Instance 40

Centrality↓:101.35617636344698  Popularity↓:2.0  specifity↑:2.2603294069810542E-6
        Thread t = new Thread(new Runnable() { 
            public void run() { 
                StreamSinkSend.main(new String[] { filename, msBetweenWrites+"""streamSinkTestServer.key" });
            }
        });
        t.start();
            t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class370.java


Instance 41

Centrality↓:101.35617636344698  Popularity↓:2.0  specifity↑:0.3678817015008493
        Runnable deleter = new Runnable()
        {
            @Override
            public void run()
            {
                deleteRelationshipInSameThreadtoDelete );
            }
        };
        Thread t = new Threaddeleter );
        t.start();
        t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class450.java


Instance 42

Centrality↓:101.35617636344698  Popularity↓:2.0  specifity↑:2.2603294069810542E-6
        Thread t = new Thread(new Runnable() {
                public void run() {
                    System.out.println("foo");
                }
            });
        t.start();
        t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class590.java


Instance 43

Centrality↓:101.35617636344698  Popularity↓:2.0  specifity↑:2.2603294069810542E-6
        Thread thread = new Threadnew Runnable()
        {
            @Override
            public void run()
            {
                Object obj = pool.acquire();
                pool.releaseobj );
            }
        });
        thread.start();
        thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class460.java


Instance 44

Centrality↓:101.35617636344698  Popularity↓:2.0  specifity↑:2.2603294069810542E-6
        Runnable r = new Runnable() {
            public void run() {
                try {
                    Object ignore = c.call();
                catch (Exception ignore) {
                }
            }
        };
        Thread t = new Thread(r);
        t.start();
        try t.join()catch (InterruptedException ignore) { }

Path:D:\JavaApiSearchResult\Thread.join\Class180.java


Instance 45

Centrality↓:101.35440809421748  Popularity↓:2.0  specifity↑:0.36879132313699686
    Thread t = new Thread(task);
    t.start();
    t.join(1000);
    assertFalse("thread has stopped", t.isAlive());

Path:D:\JavaApiSearchResult\Thread.join\Class630.java


Instance 46

Centrality↓:101.35214142808341  Popularity↓:2.0  specifity↑:2.2603294069810542E-6
            Thread t = new Thread(new Runnable() {
                public void run() {
                    ThreadContext.setUp(myContext);
                }
            });
            t.start();
            t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class390.java


Instance 47

Centrality↓:101.29970684278163  Popularity↓:2.0  specifity↑:0.01831563888873418
        Thread thread = new Thread(group, new Test6657026());
        thread.start();
        thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class370.java


Instance 48

Centrality↓:101.28892119475037  Popularity↓:2.0  specifity↑:0.2706705664732254
        connectedChannelMock.setReadData("can't read this");
        ReadBlocking readRunnable = new ReadBlocking(connectedChannelMock, 100, TimeUnit.MILLISECONDS, Buffers.EMPTY_BYTE_BUFFER);
        Thread readThread = new Thread(readRunnable);
        readThread.start();
        readThread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class200.java


Instance 49

Centrality↓:101.28863113205223  Popularity↓:2.0  specifity↑:0.1353352832366127
        Thread r2 = new Thread(new Reader(2));
        r2.start();
        r2.join();

Path:D:\JavaApiSearchResult\Thread.join\Class650.java


Instance 50

Centrality↓:101.28863113205222  Popularity↓:2.0  specifity↑:0.1353352832366127
        Thread r2 = new Thread(new Reader(2));
        r2.start();
        r2.join();

Path:D:\JavaApiSearchResult\Thread.join\Class470.java


Instance 51

Centrality↓:101.28805471271457  Popularity↓:2.0  specifity↑:2.2454030555670497
        assertNull(value.getAndSetValue(new ImmediateValue<String>("value")));
        assertEquals("value", value.getValue());
        assertEquals("value", value.getValue());
        final ThreadLocalRunnable<String> runnable = new ThreadLocalRunnable<String>(value, "anotherValue");
        final Thread thread = new Thread(runnable);
        thread.start();
        thread.join(30000);

Path:D:\JavaApiSearchResult\Thread.join\Class140.java


Instance 52

Centrality↓:101.28648784250346  Popularity↓:2.0  specifity↑:1.103638323514327
        assertEquals(0, readRunnable.getReadResult());
        connectedChannelMock.enableRead(true);
        readThread = new Thread(readRunnable);
        readThread.start();
        readThread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class200.java


Instance 53

Centrality↓:101.28222864768105  Popularity↓:2.0  specifity↑:0.0
            thread = new Thread(this);
            thread.start();
                thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class430.java


Instance 54

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.36787944117144233
        Thread t = new Thread(new FasterWriter());
        t.start();
        t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class90.java


Instance 55

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:1.4715177646857693
                ThreadGroup tg = Thread.currentThread().getThreadGroup();
                for (ThreadGroup tgn = tg;
                     tgn != null;
                     tg = tgn, tgn = tg.getParent());
                Thread sft = new Thread(tg, proc, "Secondary finalizer");
                sft.start();
                    sft.join();

Path:D:\JavaApiSearchResult\Thread.join\Class90.java


Instance 56

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.0
      Thread myThread = new Thread(command);
      myThread.start();
        myThread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class350.java


Instance 57

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.7357588823428847
        AtomicBoolean success = new AtomicBoolean(false);
        Thread thread = new Thread(new SetExceptionPayload(event, success));
        thread.start();
        thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class580.java


Instance 58

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.7357588823428847
    Thread t = new Thread() {
      @Override
      public void run() {
        WebDriver driver2 = factory.getDriver(fakeCapabilities);
        assertNotSame(driver2, driver);
      }
    };
    t.start();
    t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class400.java


Instance 59

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.0
        Thread thread = new Thread(runnable);
        thread.start();
            thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class370.java


Instance 60

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.36787944117144233
    Runnable bench = new SimpleBenchJRedisChunkedPipeline();
    Thread bt = new Thread(bench, "");
    bt.start();
      bt.join();

Path:D:\JavaApiSearchResult\Thread.join\Class250.java


Instance 61

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.0
      Thread t = new Thread() {
        @Override
        public void run() {
          throw new RuntimeException("foobar");
        }
      };
      t.start();
      t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class30.java


Instance 62

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.36787944117144233
    Thread t = new Thread(new ChangeThread(creator, print_mem));
    t.start();
      t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class30.java


Instance 63

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.7357588823428847
        TweetSearchPage page = getInstance(TweetSearchPage.class);
        QueueThread pkg = page.queueTweets(null, "java"null);
        Thread t = new Thread(pkg);
        t.start();
        t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class660.java


Instance 64

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:1.103638323514327
        Thread t2 = new Thread(group, "t2") {
            @Override public void run() {
                visibleTraces.set(Thread.getAllStackTraces().size());
            }
        };
        t2.start();
        t2.join();

Path:D:\JavaApiSearchResult\Thread.join\Class340.java


Instance 65

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.36787944117144233
    MyRunnable runnable = new MyRunnable(repositoryService);
    Thread thread = new Thread(runnable);
    thread.start();
    thread.join(waitTime);

Path:D:\JavaApiSearchResult\Thread.join\Class310.java


Instance 66

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:1.103638323514327
      final StringWriter writer = new StringWriter();
      final Result result = new StreamResult(writer);
      final TransformerRunnable transformer = transformer(inputUrl, xsltScript, result);
    final Thread transformerThread = new Thread(transformer, "XSLT");
    transformerThread.start();
    transformerThread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class310.java


Instance 67

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.0
                        Thread t = new Thread(sensitiveThing);
                        t.start();
                            t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class0.java


Instance 68

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.0
            Thread t = new Thread(runWithinGetAttribute);
            t.start();
                t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class0.java


Instance 69

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:1.4715177646857693
      Thread t = new Thread() {
         public void run() {
            cache.startBatch();
            ref.set(cache.get(key));
            cache.endBatch(true);
         }
      };
      t.start();
      t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class450.java


Instance 70

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.36787944117144233
    Putter putter = new Putter(cq, putAttempts, -1);
    Thread t = new Thread(putter);
    t.start();
    t.join(100);

Path:D:\JavaApiSearchResult\Thread.join\Class440.java


Instance 71

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.36787944117144233
    Taker taker = new Taker(cq, takeAttempts, -1);
    Thread t = new Thread(taker);
    t.start();
    t.join(100);

Path:D:\JavaApiSearchResult\Thread.join\Class440.java


Instance 72

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.7357588823428847
        Thread checker = new Thread(new ConcurrentBatchReadingTest(true, -1).runnable());
        checker.start();
            checker.join();

Path:D:\JavaApiSearchResult\Thread.join\Class480.java


Instance 73

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.0
      final Thread t = new Thread(parentGroup, "XYZ") {
        public void run() {
          throw new RuntimeException("Yoda died.");
        }
      };
      t.start();
      t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class40.java


Instance 74

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.36787944117144233
        Thread t = new Thread() {
            public void run() {
                lock.lock();
            }
        };
        t.start();
            t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class360.java


Instance 75

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.0
        Thread thread = new Thread() {

            @Override
            public void run() {
                QueryBuilder<TestEntity> builder = dao.queryBuilder();
                builder.where(Properties.SimpleInteger.eq(getSimpleInteger(1)));
                queryFromOtherThread = builder.buildCount();
            }
        };
        thread.start();
        thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class100.java


Instance 76

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.36787944117144233
        Thread thread = new Thread(group, new TestGuiAvailable());
        thread.start();
        thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class70.java


Instance 77

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:1.8393972058572117
        Injector injector = Guice.createInjector(ProductionModuleFactory.newModule());
        CardStorage cardStorage = injector.getInstance(CardStorage.class);
        AbcSmartcardRemovalDetectorFactory abcSmartcardRemovalDetectorFactory = new AbcSmartcardRemovalDetectorFactory(
                cardStorage);
        AbcSmartcardDetector detector = new AbcSmartcardDetector(
                terminalFactory, cardStorage,
                abcSmartcardRemovalDetectorFactory, TIMEOUT, random);
        Thread thread = new Thread(detector, "Smart card detector");
        thread.start();
        thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class330.java


Instance 78

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.36787944117144233
        Thread thread = new Thread(new ScriptRunner(testScript));
        thread.start();
        thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class560.java


Instance 79

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.36787944117144233
        final Thread t = new Thread() {
            @Override
            public void run() {
                ApplicationComposers.run(Application.class, "a""b");
            }
        };
        t.start();
        t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class170.java


Instance 80

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.36787944117144233
    TestLock tl = new TestLock(o);
    Thread t = new Thread(tl);
    t.start();
      t.join(100);

Path:D:\JavaApiSearchResult\Thread.join\Class500.java


Instance 81

Centrality↓:101.28222864768104  Popularity↓:2.0  specifity↑:0.36787944117144233
        Thread t = new Thread(new InitialValue());
        t.start();
            t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class550.java


Instance 82

Centrality↓:100.3245418670298  Popularity↓:1.0  specifity↑:0.7357588823428847
        Thread thread = new Thread(this);
        thread.setContextClassLoader(loader);
        thread.start();
        thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class290.java


Instance 83

Centrality↓:100.3245418670298  Popularity↓:1.0  specifity↑:1.103638323514327
    Thread threadTimeout = new Thread(createRunnable());
    threadTimeout.setDaemon(true);
    threadTimeout.start();
    threadTimeout.join(60000);

Path:D:\JavaApiSearchResult\Thread.join\Class280.java


Instance 84

Centrality↓:98.8588468663164  Popularity↓:1.0  specifity↑:0.7855459507107486
        Thread t = new Thread(new CheckedRunnable() {
            public void realRun() throws InterruptedException {
                Thread.sleep(SHORT_DELAY_MS);
                LockSupport.park();
            }});
        t.start();
        LockSupport.unpark(t);
        t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class30.java


Instance 85

Centrality↓:97.77509430741924  Popularity↓:1.0  specifity↑:0.7366707643084391
    testThread.start();
    testThread.join(limitTime);
    if (testThread.isAlive()) {
      testThread.interrupt();
      fail("timeout by " + limitTime / 1000 " seconds")//$NON-NLS-2$
    else {
      // Finished
    }

Path:D:\JavaApiSearchResult\Thread.join\Class10.java


Instance 86

Centrality↓:97.4257922769378  Popularity↓:1.0  specifity↑:0.8710941655794974
        final Exchanger e = new Exchanger();
        Thread t = new ThreadShouldThrow(TimeoutException.class) {
            public void realRun() throws Exception {
                e.exchange(null, SHORT_DELAY_MS, MILLISECONDS);
            }};
        t.start();
        t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class400.java


Instance 87

Centrality↓:97.4257922769378  Popularity↓:1.0  specifity↑:0.8710941655794974
        final CyclicBarrier c = new CyclicBarrier(2);
        Thread t = new ThreadShouldThrow(TimeoutException.class) {
            public void realRun() throws Exception {
                c.await(SHORT_DELAY_MS, MILLISECONDS);
            }};
        t.start();
        t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class230.java


Instance 88

Centrality↓:97.41421458504816  Popularity↓:1.0  specifity↑:0.36787944117144233
    if (thread != null) {
      thread.start();

      try {
        thread.join();
      }
      catch (InterruptedException ie) {
        ReflectionUtil.throwException(ie);
      }
    }

Path:D:\JavaApiSearchResult\Thread.join\Class260.java


Instance 89

Centrality↓:97.38274315556903  Popularity↓:1.0  specifity↑:0.36787944117144233
    Thread t1 = new Runtest1();
    t1.start();
    t1.join();

Path:D:\JavaApiSearchResult\Thread.join\Class60.java


Instance 90

Centrality↓:97.38274315556903  Popularity↓:1.0  specifity↑:0.36787944117144233
        Thread thread = new ThreadInAnotherAppContext();
        thread.start();
        thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class290.java


Instance 91

Centrality↓:97.38274315556903  Popularity↓:1.0  specifity↑:1.103638323514327
              case 0: t = new ct0()break;
              case 1: t = new ct1()break;
              case 2: t = new ct2()break;
            t.start();
            t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class490.java


Instance 92

Centrality↓:97.38274315556903  Popularity↓:1.0  specifity↑:0.36787944117144233
        Thread progenitor = new ITLThread(x);
        progenitor.start();
        progenitor.join();

Path:D:\JavaApiSearchResult\Thread.join\Class90.java


Instance 93

Centrality↓:97.38274315556903  Popularity↓:1.0  specifity↑:1.4715177646857693
    NSFComponentModule module = (NSFComponentModulegetComponentModule(arg0);
    final LoaderRunnable loaderRunnable = new LoaderRunnable(module, classNames, this);
    Thread t = new lotus.domino.NotesThread(loaderRunnable);
    t.start();
      t.join();// RPr: should we really load all modules in an own thread async?s

Path:D:\JavaApiSearchResult\Thread.join\Class190.java


Instance 94

Centrality↓:97.38274315556903  Popularity↓:1.0  specifity↑:0.36787944117144233
    Thread t = new HookCaller();
    t.start();
    t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class220.java


Instance 95

Centrality↓:97.38274315556903  Popularity↓:1.0  specifity↑:0.0
    thread2.start();
    thread2.join();

Path:D:\JavaApiSearchResult\Thread.join\Class30.java


Instance 96

Centrality↓:97.38274315556903  Popularity↓:1.0  specifity↑:0.36787944117144233
        Thread t = new Helper(which);
        t.start();
            t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class470.java


Instance 97

Centrality↓:97.38274315556903  Popularity↓:1.0  specifity↑:0.7357588823428847
        Runtime.getRuntime().removeShutdownHook(holdClearerThread);
        holdClearerThread.start();
            holdClearerThread.join()// wait for it to finish

Path:D:\JavaApiSearchResult\Thread.join\Class160.java


Instance 98

Centrality↓:97.38274315556903  Popularity↓:1.0  specifity↑:0.36787944117144233
      Thread t = new TestCacheThread(sqlMap, results, statementName);
      t.start();
        t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class300.java


Instance 99

Centrality↓:97.38274315556903  Popularity↓:1.0  specifity↑:0.36787944117144233
        Thread progenitor = new MyThread();
        progenitor.start();
        progenitor.join();

Path:D:\JavaApiSearchResult\Thread.join\Class40.java


Instance 100

Centrality↓:97.38274315556903  Popularity↓:1.0  specifity↑:0.0
        interactWithBackendThread.start();
            interactWithBackendThread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class100.java


Instance 101

Centrality↓:97.38274315556903  Popularity↓:1.0  specifity↑:0.7357588823428847
        X runnable = new X();
        Thread thread = ThreadManager.createBackgroundThread(runnable);
        thread.start();
        thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class170.java


Instance 102

Centrality↓:88.9134698835627  Popularity↓:0.0  specifity↑:1.8393972058572117
            t1.start();
            assertNull(ThreadUtils.findThreadById(t1.getId(), tg));
            t1.interrupt();
            t1.join();

Path:D:\JavaApiSearchResult\Thread.join\Class560.java


Instance 103

Centrality↓:84.87467098380188  Popularity↓:0.0  specifity↑:1.103638323514327
        Thread t = new Thread(new FileSetLength(file, length));
        t.run();
        t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class510.java