mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
There is only one lock_sys. Allocate it statically in order to avoid dereferencing a pointer whenever accessing it. Also, align some members to their own cache line in order to avoid false sharing. lock_sys_t::create(): The deferred constructor. lock_sys_t::close(): The early destructor. |
||
|---|---|---|
| .. | ||
| sync0arr.cc | ||
| sync0debug.cc | ||
| sync0rw.cc | ||
| sync0sync.cc | ||