标签: java multithreading locking
我发现三种情况发布资源上的锁定:
1) wait() method; 2) get an exception; 3) thread complete its execution
还有其他情况吗?