Watchdog.inc 905 B

1234567891011121314151617181920212223
  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. // TODO: implement.
  13. // Currently this is only used by PrettyStackTrace which is also unimplemented
  14. // on Windows. Roughly, a Windows implementation would use CreateWaitableTimer
  15. // and a second thread to run the TimerAPCProc.
  16. namespace llvm {
  17. namespace sys {
  18. Watchdog::Watchdog(unsigned int seconds) {}
  19. Watchdog::~Watchdog() {}
  20. } // namespace sys
  21. } // namespace llvm