diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-14 23:18:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-14 23:18:06 +0000 |
commit | 91ab799c42b2496e65afd0c866811999d88119ed (patch) | |
tree | 2c31aa87ead94723c1d959a691b11811fc4589f8 /src/util/test_scheduler.c | |
parent | a72a1c6fc09216c5be7f5ee697ff55cf66907c80 (diff) | |
download | gnunet-91ab799c42b2496e65afd0c866811999d88119ed.tar.gz gnunet-91ab799c42b2496e65afd0c866811999d88119ed.zip |
LRN: enable more fine-grained control over blocking/non-blocking pipe operation
Diffstat (limited to 'src/util/test_scheduler.c')
-rw-r--r-- | src/util/test_scheduler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/test_scheduler.c b/src/util/test_scheduler.c index 788ba13fa..8072feaf1 100644 --- a/src/util/test_scheduler.c +++ b/src/util/test_scheduler.c | |||
@@ -119,7 +119,7 @@ task5 (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
119 | 119 | ||
120 | GNUNET_assert (5 == *ok); | 120 | GNUNET_assert (5 == *ok); |
121 | (*ok) = 6; | 121 | (*ok) = 6; |
122 | p = GNUNET_DISK_pipe (GNUNET_NO, GNUNET_NO, GNUNET_NO); | 122 | p = GNUNET_DISK_pipe (GNUNET_NO, GNUNET_NO, GNUNET_NO, GNUNET_NO); |
123 | GNUNET_assert (NULL != p); | 123 | GNUNET_assert (NULL != p); |
124 | fds[0] = GNUNET_DISK_pipe_handle (p, GNUNET_DISK_PIPE_END_READ); | 124 | fds[0] = GNUNET_DISK_pipe_handle (p, GNUNET_DISK_PIPE_END_READ); |
125 | fds[1] = GNUNET_DISK_pipe_handle (p, GNUNET_DISK_PIPE_END_WRITE); | 125 | fds[1] = GNUNET_DISK_pipe_handle (p, GNUNET_DISK_PIPE_END_WRITE); |