/**
* A generic pre-select method for signal tasks.
*
- * \param s Passed to para_fd_set().
+ * \param s Used to watch the signal fd for reading.
* \param context Signal task pointer.
*
* This convenience helper is called from several programs which need to handle
_static_inline_ void signal_pre_select(struct sched *s, void *context)
{
struct signal_task *st = context;
- para_fd_set(st->fd, &s->rfds, &s->max_fileno);
+ sched_monitor_readfd(st->fd, s);
}
struct signal_task *signal_init_or_die(void);