// Creating a `Dispatcher` also installs a global sigsegv handler which will dispatch requests
// to local handlers registered in said `Dispatcher`.
Creating a `Dispatcher` also installs a global sigsegv handler which will dispatch requests
to local handlers registered in said `Dispatcher`.
Creating a ` Dispatcher ` also installs a global sigsegv handler which will dispatch requests to local handlers registered in said ` Dispatcher ` .
pub fn new(handler: sigsegv_handler_t) -> Self {
        unsafe {
            let mut dsptch: sigsegv_dispatcher = sigsegv_dispatcher::default();
            sigsegv_init(&mut dsptch);
            sigsegv_install_handler(handler);
            Dispatcher(Rc::new(RefCell::new(dsptch)))
        }
    }
pub fn new ( handler : sigsegv_handler_t ) -> Self { unsafe { let mut dsptch : sigsegv_dispatcher = sigsegv_dispatcher :: default ( ) ; sigsegv_init ( & mut dsptch ) ; sigsegv_install_handler ( handler ) ; Dispatcher ( Rc :: new ( RefCell :: new ( dsptch ) ) ) } }
Creating a `Dispatcher` also installs a global sigsegv handler which will dispatch requests
to local handlers registered in said `Dispatcher`.
Creating a ` Dispatcher ` also installs a global sigsegv handler which will dispatch requests to local handlers registered in said ` Dispatcher ` .
handler
sigsegv_handler_t