3. Scheduler

Start cpp section to faio/faio_drv.hpp[1 /1 ]
     1: #line 174 "./lpsrc/flx_faio.pak"
     2: #ifndef __FLX_FAIO_DRV_H__
     3: #define __FLX_FAIO_DRV_H__
     4: #include <flx_faio_config.hpp>
     5: 
     6: #include "pthread_sleep_queue.hpp"
     7: #include "pthread_work_fifo.hpp"
     8: #include "demux_timer_queue.hpp"
     9: #include "demux_demuxer.hpp"
    10: 
    11: namespace flx { namespace faio {
    12: 
    13: // this may be needed but I've lost track of where
    14: // we get SIGPIPE, SIG_IGN from ..
    15: 
    16: #if 0
    17: void FAIO_EXTERN sigpipe_ignorer()
    18: {
    19:     void (*prev_handler)(int);  // solaris is FUN.
    20:     prev_handler = signal(SIGPIPE, SIG_IGN);
    21: 
    22:     if(SIG_ERR == prev_handler)
    23:     {
    24:         fprintf(stderr, "failed to install SIGPIPE ignorer\n");
    25:         throw -1;
    26:     }
    27:     else if(prev_handler != SIG_IGN && prev_handler != SIG_DFL)
    28:     {
    29:         fprintf(stderr,"warning: blew away prev SIGPIPE handler: %p\n",
    30:             prev_handler);
    31:     }
    32: }
    33: #endif
    34: 
    35: }}
    36: #endif
    37: 
End cpp section to faio/faio_drv.hpp[1]