Changeset 5619:16fe78ec277c in roaraudio for roard/lib.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
  • roard/lib.c

    r5586 r5619  
    3434 ROAR_WARN("lib_run_bg(cmd='%s', ...): This function should never be called. Contact devels."); 
    3535 
    36  child = fork(); 
     36 child = roar_fork(NULL); 
    3737 
    3838 if ( child == -1 ) { 
     
    4747 
    4848 // we are the child. 
    49  // first we need to close a lot of open files! 
     49 
     50 // first stop the watchdog. 
     51 roar_watchdog_stop(); 
     52 
     53 // then we need to close a lot of open files! 
    5054 
    5155 // before we do this we need to keep backups of our handles: 
Note: See TracChangeset for help on using the changeset viewer.