ext/iodine/fio.c
/* *****************************************************************************
Deferred event handlers - these tasks safely forward the events to the Protocol
***************************************************************************** */
Deferred event handlers - these tasks safely forward the events to the Protocol
Deferred event handlers - these tasks safely forward the events to the Protocol
static void deferred_on_close(void *uuid_, void *pr_) {
  fio_protocol_s *pr = pr_;
  if (pr->rsv)
    goto postpone;
  pr->on_close((intptr_t)uuid_, pr);
  return;
postpone:
  fio_defer_push_task(deferred_on_close, uuid_, pr_);
}
static void deferred_on_close ( void * uuid_ , void * pr_ ) { fio_protocol_s * pr = pr_ ; if ( pr -> rsv ) goto postpone ; pr -> on_close ( ( intptr_t ) uuid_ , pr ) ; return ; postpone : fio_defer_push_task ( deferred_on_close , uuid_ , pr_ ) ; }
Deferred event handlers - these tasks safely forward the events to the Protocol
Deferred event handlers - these tasks safely forward the events to the Protocol