xref: /freebsd/contrib/llvm-project/llvm/lib/Support/Windows/Watchdog.inc (revision 02e9120893770924227138ba49df1edb3896112a)
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-exception
6//
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 unimplemented
15// on Windows. Roughly, a Windows implementation would use CreateWaitableTimer
16// and a second thread to run the TimerAPCProc.
17
18namespace llvm {
19namespace sys {
20Watchdog::Watchdog(unsigned int seconds) {}
21Watchdog::~Watchdog() {}
22} // namespace sys
23} // namespace llvm
24