Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
watchdog.hh
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 noet:
3 // CVS information:
4 // $Revision: 7630 $
5 // $Date: 2006-03-10 09:37:52 -0800 (Fri, 10 Mar 2006) $
6 // $Author: rhiju $
7 // (c) Copyright Rosetta Commons Member Institutions.
8 // (c) This file is part of the Rosetta software suite and is made available under license.
9 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
10 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
11 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
12 
13 #ifndef INCLUDED_protocols_boinc_watchdog_hh
14 #define INCLUDED_protocols_boinc_watchdog_hh
15 
16 #include <string>
17 
18 namespace protocols {
19 namespace boinc {
20 namespace watchdog {
21 
22 // protocols can set this pose as the global bailout - if the watchdog kicks in it will write out *this*
23 // pose and give it a special label to be identified as the Bailout ( W_xxx )
24 // Currently this is only set by the CheckPointer.
25 #ifdef WIN32
26 #else
27  extern pthread_mutex_t bailout_mutex;
28 #endif
31 
32 void
34 
35 void
37 
38 void*
39 main_watchdog( void* );
40 
41 } // namespace watchdog
42 } // namespace boinc
43 } // namespace protocols
44 
45 
46 #endif // INCLUDED_protocols_boinc_watchdog_HH