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

//===-- Alarm.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/Alarm.h"
#include "lldb/Host/ThreadLauncher.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"

usingnamespacelldb;
usingnamespacelldb_private;

Alarm::Alarm(Duration timeout, bool run_callback_on_exit)
    :{}

Alarm::~Alarm() {}

Alarm::Handle Alarm::Create(std::function<void()> callback) {}

bool Alarm::Restart(Handle handle) {}

bool Alarm::Cancel(Handle handle) {}

Alarm::Entry::Entry(Alarm::Callback callback, Alarm::TimePoint expiration)
    :{}

void Alarm::StartAlarmThread() {}

void Alarm::StopAlarmThread() {}

bool Alarm::AlarmThreadRunning() {}

lldb::thread_result_t Alarm::AlarmThread() {}

Alarm::TimePoint Alarm::GetNextExpiration() const {}

Alarm::Handle Alarm::GetNextUniqueHandle() {}