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

Method WriteLockW

phxsqlclient/utils/filelock.h:161–163  ·  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

159 *\note return false when interupt by singal.
160 */
161 inline bool WriteLockW(int iOffset, int iLen = 1, int iWhence = SEEK_SET) {
162 return Fcntl(F_SETLKW, F_WRLCK, iOffset, iLen, iWhence);
163 }
164
165 /*!
166 *\brief WriteLockW()���ļ��汾.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected