2016年11月18日
摘要: <! lang: java boolean permit = false; try { permit = semaphore.tryAcquire(1, TimeUnit.SECONDS); if (permit) { System.out.println("Semaphore acquired") 阅读全文
posted @ 2016-11-18 18:48 bendantuohai 阅读(851) 评论(0) 推荐(0)