haoshuaifei / blog-comments

0 stars 0 forks source link

2024/03/29/thread_base/ #14

Open beaudar-bot opened 7 months ago

beaudar-bot commented 7 months ago

thread基础 - 码界Musing

  1. 实现多线程1.1 创建多线程的方式1.1.1 实现Runnable接口12345678public class RunnableThread implements Runnable { @Override public void run() { System.out.println('用实现Runnable接口实现线程');

https://shuaifeihao.top/2024/03/29/thread_base/

haoshuaifei commented 7 months ago

按照分类标准我们可以把锁分为以下7大类别: