1 /* COPYING ****************************************************************** 2 For copyright and licensing terms, see the file named COPYING. 3 // ************************************************************************** 4 */ 5 6 #if !defined(INCLUDE_JOBSERVER_H) 7 #define INCLUDE_JOBSERVER_H 8 9 #include <vector> 10 #include <list> 11 #include <string> 12 #include <cstdio> 13 14 /* The GNU make jobserver *************************************************** 15 // ************************************************************************** 16 */ 17 18 namespace jobserver { 19 20 extern int fds[2]; 21 22 extern 23 bool 24 try_procure_slot( 25 const char * prog 26 ) ; 27 28 extern 29 bool 30 procure_slot( 31 const char * prog 32 ) ; 33 34 extern 35 void 36 vacate_slot( 37 const char * prog 38 ) ; 39 40 } 41 42 #endif 43