ext/iodine/fio.c
/** Defer an execution of a function for later. */
Defer an execution of a function for later.
Defer an execution of a function for later .
int fio_defer(void (*func)(void *, void *), void *arg1, void *arg2) {
  if (!func)
    goto call_error;
  fio_defer_push_task(func, arg1, arg2);
  return 0;
call_error:
  return -1;
}
int fio_defer ( void ( * func ) ( void * , void * ) , void * arg1 , void * arg2 ) { if ( ! func ) goto call_error ; fio_defer_push_task ( func , arg1 , arg2 ) ; return 0 ; call_error : return -1 ; }
Defer an execution of a function for later.
Defer an execution of a function for later .
/* must have a task to defer */