05 2021 档案
摘要:Innodb存储引擎设计了两种同步机制: 1. mutex, 完全的互斥方法 2. rw-lock, 可以给临界资源加上 s-latch或者 x-latch。s-latch允许并发的读操作,x-latch是完全的互斥方式。 1. mutex mutex的数据结构如下所示: struct mutex_
阅读全文
摘要:The basic element of the memory management is called a memoryheap. A memory heap is conceptually astack from which memory can be allocated. The stack
阅读全文