IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 14, 2008, 8:49:49 AM (18 years ago)
Author:
eugene
Message:

fix sigpipe handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pcontrol/pcontrol.c.in

    r16461 r16473  
    2121
    2222  /* set global signal masks (these apply to all threads launched below) */
    23   signal (SIGPIPE, gotsignal);
     23  signal (SIGPIPE, SIG_IGN); // must ignore SIGPIPE or we get in an infinite loop when pantasks exits
    2424  signal (SIGTSTP, gotsignal);
    2525  signal (SIGTTIN, gotsignal);
Note: See TracChangeset for help on using the changeset viewer.