How to unlockFile ?

25 views
Skip to first unread message

qLvlDb

unread,
Feb 28, 2017, 11:59:46 AM2/28/17
to leveldb
With the current code, I have
Status UnlockFile(FileLock* lock)
and
Status LockFile(const std::string& fname, FileLock** lock)

LockFile returns FileLock NULL if the file has already been locked.

If I want to UnlockFile a specific file, how/wherefrom do I obtain the needed FileLock for this specific file???
Reply all
Reply to author
Forward
0 new messages