/** * Destroy a selector block. * * All bindings with file descriptor are destroyed. * * @param selector the selector block to be destroyed */ void xnselector_destroy(struct xnselector *selector) { spl_t s; inith(&selector->destroy_link); xnlock_get_irqsave(&nklock, s); appendq(&xnselectors, &selector->destroy_link); __rthal_apc_schedule(xnselect_apc); xnlock_put_irqrestore(&nklock, s); }
static inline void xnpipe_schedule_request(void) /* hw IRQs off */ { __rthal_apc_schedule(xnpipe_wakeup_apc); }