void DeleteLock()
Delete the semaphore CreateLock() created.
void ReleaseLock(const char *owner)
Release the lock.
void CreateLock()
Create the semaphore that serialises the RPC command runs and the block processing.
void AcquireLock(const char *owner)
Wait for the lock.