mirror of
https://github.com/CyC2018/CS-Notes.git
synced 2026-03-13 09:50:42 +08:00
Merge branch 'master' of https://github.com/CyC2018/CS-Notes
This commit is contained in:
@@ -229,6 +229,7 @@ main() 属于非守护线程。
|
||||
public static void main(String[] args) {
|
||||
Thread thread = new Thread(new MyRunnable());
|
||||
thread.setDaemon(true);
|
||||
thread.start();
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user