Changeset 5619:16fe78ec277c in roaraudio for libroar/basic.c


Ignore:
Timestamp:
08/09/12 00:01:15 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Implemented watchdog (Closes: #291)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/basic.c

    r5608 r5619  
    9191  return -1; 
    9292 } else if ( r == 0 ) { // we are the child 
     93  roar_watchdog_stop(); 
     94 
    9395  close(socks[0]); 
    9496 
     
    113115  // we are still alive? 
    114116  ROAR_ERR("_start_server(*): alive after exec(), that's bad!"); 
    115   _exit(1); 
     117  ROAR_U_EXIT(1); 
    116118 } else { // we are the parent 
    117119  close(socks[1]); 
Note: See TracChangeset for help on using the changeset viewer.