Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/phxsql
/ write_lock
Function
write_lock
phx_percona/percona/sql/rpl_handler.h:105–110 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
103
}
104
105
inline int write_lock()
106
{
107
if (!inited)
108
return TRUE;
109
return mysql_rwlock_wrlock(&lock);
110
}
111
112
inline int unlock()
113
{
Callers
2
add_observer
Function · 0.85
remove_observer
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected