ext/iodine/fio.c
/**
 * Performs a single task from the queue, returning -1 if the queue was empty.
 */
Performs a single task from the queue, returning -1 if the queue was empty.
Performs a single task from the queue returning - 1 if the queue was empty .
static inline int
fio_defer_perform_single_task_for_queue(fio_task_queue_s *queue) {
  fio_defer_task_s task = fio_defer_pop_task(queue);
  if (!task.func)
    return -1;
  task.func(task.arg1, task.arg2);
  return 0;
}
static inline int fio_defer_perform_single_task_for_queue ( fio_task_queue_s * queue ) { fio_defer_task_s task = fio_defer_pop_task ( queue ) ; if ( ! task . func ) return -1 ; task . func ( task . arg1 , task . arg2 ) ; return 0 ; }
Performs a single task from the queue, returning -1 if the queue was empty.
Performs a single task from the queue returning - 1 if the queue was empty .