/[monit]/monit/monitor.c
ViewVC logotype

Diff of /monit/monitor.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.79 by martinp, Wed Sep 17 18:00:52 2003 UTC revision 1.80 by martinp, Wed Sep 17 18:40:21 2003 UTC
# Line 178  static void do_init() { Line 178  static void do_init() {
178      exit(1);      exit(1);
179    }    }
180    
   /*  
    * Initialize the runtime mutex for synchronization of threads which  
    * can produce filedescriptors and threads which can fork and exec.  
    */  
   status= pthread_mutex_init(&Run.mutex_fd, NULL);  
   if(status != 0) {  
     log("%s: Cannot initialize filedescriptor mutex -- %s\n",  
         prog, strerror(status));  
     exit(1);  
   }  
   
181    /*    /*
182     * Get the position of the control file     * Get the position of the control file
183     */     */

Legend:
Removed from v.1.79  
changed lines
  Added in v.1.80

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26