llvm/lldb/source/Host/posix/LockFilePosix.cpp

//===-- LockFilePosix.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/posix/LockFilePosix.h"

#include "llvm/Support/Errno.h"

#include <fcntl.h>
#include <unistd.h>

usingnamespacelldb;
usingnamespacelldb_private;

static Status fileLock(int fd, int cmd, int lock_type, const uint64_t start,
                       const uint64_t len) {}

LockFilePosix::LockFilePosix(int fd) :{}

LockFilePosix::~LockFilePosix() {}

Status LockFilePosix::DoWriteLock(const uint64_t start, const uint64_t len) {}

Status LockFilePosix::DoTryWriteLock(const uint64_t start, const uint64_t len) {}

Status LockFilePosix::DoReadLock(const uint64_t start, const uint64_t len) {}

Status LockFilePosix::DoTryReadLock(const uint64_t start, const uint64_t len) {}

Status LockFilePosix::DoUnlock() {}