Ejemplo n.º 1
0
/* Prepare host I/O slot for operating in main protocol phase */
void host_activate(void)
{
  if (s_host_slot == NULL) {
    /* Just activate */
    host_really_activate(cur_slot);
  } else {
    /* Let close hook do the work */
    s_new_slot = cur_slot;
    aio_close_other(s_host_slot, 0);
  }
}
Ejemplo n.º 2
0
void aio_close(int fatal_f)
{
  aio_close_other(cur_slot, fatal_f);
}