定时器Timer的使用 1.1方法schedule(TimerTask task, Date time)的测试 1.2方法schedule(TimerTask task, Date firstTime, long period)的测试 1.3方法schedule(TimerTask task, long delay)的测试 1.4方法schedule(TimerTask task, long delay, long period)的测试 1.5方法scheduleAtFixedRate(Time…
Java多线程编程核心技术 这本书有利于对Java多线程API的理解,但不容易从中总结规律. JDK文档 1. Thread类 部分源码: public class Thread implements Runnable { private volatile char name[]; private int priority; private Thread threadQ; private long eetop; /* Whether or not to single_step this thre…