读书人

认识一上 java.util.concurrent.locks

发布时间: 2012-10-07 17:28:51 作者: rapoo

认识一下 java.util.concurrent.locks
转自http://download.oracle.com/javase/1.5.0/docs/guide/concurrency/overview.html

The java.util.concurrent.locks package provides a high-performance lock implementation with the same memory semantics as synchronization, but which also supports specifying a timeout when attempting to acquire a lock, multiple condition variables per lock, non-lexically scoped locks, and support for interrupting threads which are waiting to acquire a lock.

读书人网 >编程

热点推荐