xref: /freebsd/contrib/llvm-project/llvm/lib/Support/Windows/Watchdog.inc (revision 62cfcf62f627e5093fb37026a6d8c98e4d2ef04c)
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 {
19  namespace sys {
20    Watchdog::Watchdog(unsigned int seconds) {}
21    Watchdog::~Watchdog() {}
22  }
23}
24