线程的基本操作

目录 线程状态切换 终止线程(stop) 中断线程(interrupt) 挂起(suspend) 和 继续执行(resume) 等待线程结束(join) 和 谦让(yield) sleep 线程优先级 守护线程 线程的同步操作(synchronized, wait, notify) 线程状态切换 终止线程(stop) 不推荐使用Thread.stop(), 他会释放所有的monitor, 导致数据
相关文章
相关标签/搜索