X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=stdin.c;h=d025b949e8e8d2566abde3f2f214db7998ba44ff;hb=e3a7e12639c34fd86d48a072beb48add8c498d09;hp=607435d2794c66149c17c852eee95ce46ac32b7e;hpb=742c8b3f79a59278ced71e1855da1846b157b494;p=paraslash.git diff --git a/stdin.c b/stdin.c index 607435d2..d025b949 100644 --- a/stdin.c +++ b/stdin.c @@ -17,7 +17,7 @@ * If there is space left in the buffer of the stdin task, ask the scheduler to * monitor STDIN_FILENO. */ -static void stdin_pre_select(struct sched *s, void *context) +static void stdin_pre_monitor(struct sched *s, void *context) { struct stdin_task *sit = context; int ret; @@ -36,7 +36,7 @@ static void stdin_pre_select(struct sched *s, void *context) * Feed data from stdin into the buffer tree if STDIN_FILENO is ready for * reading. */ -static int stdin_post_select(__a_unused struct sched *s, void *context) +static int stdin_post_monitor(__a_unused struct sched *s, void *context) { struct stdin_task *sit = context; ssize_t ret; @@ -90,8 +90,8 @@ void stdin_task_register(struct stdin_task *sit, struct sched *s) int ret; struct task_info ti = { .name = "stdin", - .pre_select = stdin_pre_select, - .post_select = stdin_post_select, + .pre_monitor = stdin_pre_monitor, + .post_monitor = stdin_post_monitor, .context = sit, };