24 lines · plain
1//===--- Windows/Watchdog.inc - Windows Watchdog Implementation -*- C++ -*-===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8//9// This file provides the generic Windows implementation of the Watchdog class.10//11//===----------------------------------------------------------------------===//12 13// TODO: implement.14// Currently this is only used by PrettyStackTrace which is also unimplemented15// on Windows. Roughly, a Windows implementation would use CreateWaitableTimer16// and a second thread to run the TimerAPCProc.17 18namespace llvm {19namespace sys {20Watchdog::Watchdog(unsigned int seconds) {}21Watchdog::~Watchdog() {}22} // namespace sys23} // namespace llvm24