而对于用户和服务器进程,PMON将释放用户持有的锁,回滚每个未提交事件,并释放该进程正在使用的所有资源。
For user and server processes, PMON will release the locks held by users, roll back every uncommitted transaction, and release any resources this process is using.
如果您需要在一个进程内部对线程使用很多锁,那么可以考虑使用自动完成锁的维护的语言或者语言结构。
If you need many locks for threads inside a process, consider using a language and language constructs that automatically do a lot of lock maintenance.
具体地说,让第二个进程请求这个锁。
Specifically, make it the second process that's requesting the lock.
应用推荐