12a34b56c78d....5152z-java实现
ReentrantLockpackage com.example.demo;import java.util.concurrent.locks.Condition;import java.util.concurrent.locks.Lock;import java.util.concurrent.locks.ReentrantLock;/*** 两条线程交替打印,* 12A34B56C78D.....5152Z*/public class PrintLetterNumber {
原创
2021-04-07 08:53:21 ·
191 阅读 ·
1 评论