MCPcopy Create free account
hub / github.com/Tencent/phxsql / FileLock

Method FileLock

phxsqlclient/utils/filelock.cpp:30–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28namespace phxsql {
29
30FileLock::FileLock() {
31 m_iFd = -1;
32}
33
34bool FileLock::Open(const char* sPath) {
35 m_iFd = open(sPath, O_RDWR | O_CREAT | O_LARGEFILE, S_IRUSR | S_IWUSR);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected