]> git.ozlabs.org Git - ccan/commit
ccan/io: implement timeouts.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Aug 2014 08:13:21 +0000 (17:43 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Aug 2014 08:13:21 +0000 (17:43 +0930)
commit94dd4c2bddd0dc080ad5b85465fa3f45f486967a
tree30656f90dba376011c83a2936d26484c7759834b
parente92e2f65a9ae729a0c9805427da737ad936abddb
ccan/io: implement timeouts.

We do this by the simplest method: return from io_loop() and let the caller
sort them out.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
22 files changed:
ccan/io/_info
ccan/io/io.h
ccan/io/poll.c
ccan/io/test/run-01-start-finish.c
ccan/io/test/run-02-read.c
ccan/io/test/run-03-readpartial.c
ccan/io/test/run-04-writepartial.c
ccan/io/test/run-05-write.c
ccan/io/test/run-06-idle.c
ccan/io/test/run-07-break.c
ccan/io/test/run-08-hangup-on-idle.c
ccan/io/test/run-08-read-after-hangup.c
ccan/io/test/run-09-connect.c
ccan/io/test/run-10-many.c
ccan/io/test/run-12-bidir.c
ccan/io/test/run-13-all-idle.c
ccan/io/test/run-14-duplex-both-read.c
ccan/io/test/run-15-timeout.c
ccan/io/test/run-16-duplex-test.c
ccan/io/test/run-17-homemade-io.c
ccan/io/test/run-18-errno.c
ccan/io/test/run-19-always.c