Latch的目的
n 串行访问
1) 保护在SGA中的数据结构
2) 保护共享内存的分配
n 串行执行
防止对某些关键的代码同步执行;
防止corruption
Latch和enqueue的区别
Enqueue | Latch | |
Access | Several modes | Mostly exclusive |
acquisition | FIFO | Nondeterministic |
atomicity | No | yes |
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/222350/viewspace-908010/ ,如需转载,请注明出处,否则将追究法律责任。