We're sorry but rendepage doesn't work properly without JavaScript enabled. Please enable it to continue.
Semaphore初始化有10个令牌,11个线程同时各调用1次acquire方法,会发生什么?
千锋教育
拿不到令牌的线程阻塞,不会继续往下运行。