Asynchronous Communications Using select and poll

By Sean Eric Fagan

Dr. Dobb's Journal September 1998

if (p->p_ev->p_sel.si_pid)
  selwakeup(&p->p_ev->p_sel);

Example 3: Code added to stopevent().

Back to Article


Copyright © 1998, Dr. Dobb's Journal