llvm/lldb/source/Host/common/LockFileBase.cpp

//===-- LockFileBase.cpp --------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "lldb/Host/LockFileBase.h"

usingnamespacelldb;
usingnamespacelldb_private;

static Status AlreadyLocked() {}

static Status NotLocked() {}

LockFileBase::LockFileBase(int fd)
    :{}

bool LockFileBase::IsLocked() const {}

Status LockFileBase::WriteLock(const uint64_t start, const uint64_t len) {}

Status LockFileBase::TryWriteLock(const uint64_t start, const uint64_t len) {}

Status LockFileBase::ReadLock(const uint64_t start, const uint64_t len) {}

Status LockFileBase::TryReadLock(const uint64_t start, const uint64_t len) {}

Status LockFileBase::Unlock() {}

bool LockFileBase::IsValidFile() const {}

Status LockFileBase::DoLock(const Locker &locker, const uint64_t start,
                            const uint64_t len) {}