LLVM API Documentation
00001 //===--- Windows/Watchdog.inc - Windows Watchdog Implementation -*- C++ -*-===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 // 00010 // This file provides the generic Windows implementation of the Watchdog class. 00011 // 00012 //===----------------------------------------------------------------------===// 00013 00014 // TODO: implement. 00015 // Currently this is only used by PrettyStackTrace which is also unimplemented 00016 // on Windows. Roughly, a Windows implementation would use CreateWaitableTimer 00017 // and a second thread to run the TimerAPCProc. 00018 00019 namespace llvm { 00020 namespace sys { 00021 Watchdog::Watchdog(unsigned int seconds) {} 00022 Watchdog::~Watchdog() {} 00023 } 00024 }