]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/lib/Support/Windows/Watchdog.inc
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[FreeBSD/FreeBSD.git] / contrib / llvm / lib / Support / Windows / Watchdog.inc
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
18 namespace llvm {
19   namespace sys {
20     Watchdog::Watchdog(unsigned int seconds) {}
21     Watchdog::~Watchdog() {}
22   }
23 }