Home
last modified time | relevance | path

Searched refs:mDaemonLock (Results 1 – 2 of 2) sorted by relevance

/openthread-3.5.0/src/posix/platform/
Ddaemon.cpp220 mDaemonLock = open(lockfile, O_CREAT | O_RDONLY | O_CLOEXEC, 0600); in SetUp()
223 if (mDaemonLock == -1) in SetUp()
228 if (flock(mDaemonLock, LOCK_EX | LOCK_NB) == -1) in SetUp()
299 if (mDaemonLock != -1) in TearDown()
301 (void)flock(mDaemonLock, LOCK_UN); in TearDown()
302 close(mDaemonLock); in TearDown()
303 mDaemonLock = -1; in TearDown()
Ddaemon.hpp55 int mDaemonLock = -1; member in ot::Posix::Daemon