1*9880d681SAndroid Build Coastguard Worker//===--- Windows/Watchdog.inc - Windows Watchdog Implementation -*- C++ -*-===// 2*9880d681SAndroid Build Coastguard Worker// 3*9880d681SAndroid Build Coastguard Worker// The LLVM Compiler Infrastructure 4*9880d681SAndroid Build Coastguard Worker// 5*9880d681SAndroid Build Coastguard Worker// This file is distributed under the University of Illinois Open Source 6*9880d681SAndroid Build Coastguard Worker// License. See LICENSE.TXT for details. 7*9880d681SAndroid Build Coastguard Worker// 8*9880d681SAndroid Build Coastguard Worker//===----------------------------------------------------------------------===// 9*9880d681SAndroid Build Coastguard Worker// 10*9880d681SAndroid Build Coastguard Worker// This file provides the generic Windows implementation of the Watchdog class. 11*9880d681SAndroid Build Coastguard Worker// 12*9880d681SAndroid Build Coastguard Worker//===----------------------------------------------------------------------===// 13*9880d681SAndroid Build Coastguard Worker 14*9880d681SAndroid Build Coastguard Worker// TODO: implement. 15*9880d681SAndroid Build Coastguard Worker// Currently this is only used by PrettyStackTrace which is also unimplemented 16*9880d681SAndroid Build Coastguard Worker// on Windows. Roughly, a Windows implementation would use CreateWaitableTimer 17*9880d681SAndroid Build Coastguard Worker// and a second thread to run the TimerAPCProc. 18*9880d681SAndroid Build Coastguard Worker 19*9880d681SAndroid Build Coastguard Workernamespace llvm { 20*9880d681SAndroid Build Coastguard Worker namespace sys { 21*9880d681SAndroid Build Coastguard Worker Watchdog::Watchdog(unsigned int seconds) {} 22*9880d681SAndroid Build Coastguard Worker Watchdog::~Watchdog() {} 23*9880d681SAndroid Build Coastguard Worker } 24*9880d681SAndroid Build Coastguard Worker} 25