[seriesposts sid=500]
线程的join合并的含义就是将几个并行线程的线程合并为一个单线程执行,应用场景是当一个线程必须等待另一个线程执行完毕才能执行时可以使用join方法。
package com.javaer.thread;
public class Tjoin {
/**
* @param args
*/
public static void main(String[] args) {
Thread t = new Thread(new Runner());
More
Warning: Undefined variable $max_page in /backup/www/javaer.com/blog/wp-content/themes/yuexiaosheng/functions.php on line 139