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

Method Unlock

phxsqlclient/utils/filelock.h:215–217  ·  view source on GitHub ↗

! *\brief ����. *\param iOffset int, ����ƫ����. *\param iLen int , �����ֽ���. *\param iWhence int , ������ʼλ��. *\retval �ɹ�����true��ʧ�ܷ���false. *\note return false when interupt by singal. */

Source from the content-addressed store, hash-verified

213 *\note return false when interupt by singal.
214 */
215 inline bool Unlock(int iOffset, int iLen = 1, int iWhence = SEEK_SET) {
216 return Fcntl(F_SETLK, F_UNLCK, iOffset, iLen, iWhence);
217 }
218
219 /*!
220 *\brief Unlock()���ļ��汾.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected