X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=stdout.c;h=ba5f19670fce6c3c04d256a2056477064f5df7d3;hb=e3a7e12639c34fd86d48a072beb48add8c498d09;hp=f31b8675d2d85900f4abf88c948fc45bbfc8f128;hpb=742c8b3f79a59278ced71e1855da1846b157b494;p=paraslash.git diff --git a/stdout.c b/stdout.c index f31b8675..ba5f1967 100644 --- a/stdout.c +++ b/stdout.c @@ -11,7 +11,7 @@ #include "buffer_tree.h" /* Monitor STDOUT_FILENO if there is input data available. */ -static void stdout_pre_select(struct sched *s, void *context) +static void stdout_pre_monitor(struct sched *s, void *context) { struct stdout_task *sot = context; int ret; @@ -27,7 +27,7 @@ static void stdout_pre_select(struct sched *s, void *context) * If input from the buffer tree is available and STDOUT_FILENO is ready, write * as much as possible. */ -static int stdout_post_select(struct sched *s, void *context) +static int stdout_post_monitor(struct sched *s, void *context) { struct stdout_task *sot = context; struct btr_node *btrn = sot->btrn; @@ -79,8 +79,8 @@ void stdout_task_register(struct stdout_task *sot, struct sched *s) { int ret; struct task_info ti = { - .pre_select = stdout_pre_select, - .post_select = stdout_post_select, + .pre_monitor = stdout_pre_monitor, + .post_monitor = stdout_post_monitor, .context = sot, .name = "stdout", };