先判断当前线程是否是ForkJoin专有线程,如果是,则将任务push到当前线程所负责的队列里去. 6. if ((t = Thread.currentThread()) instanceof ForkJoinWorkerThread).
確定! 回上一頁