Semaphore的getQueueLength()和hasQueuedThreads()作用 答: 方法getQueueLength()的作用:http://www.yayihouse.com/yayishuwu/chapter/1394