ccan/io: go linear for debugging.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 14 Oct 2013 10:58:36 +0000 (21:28 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 14 Oct 2013 10:58:36 +0000 (21:28 +1030)
commit34776d3e9ad7de78778306a2d09c2c95df06c902
tree04ce47e402d50d35fa2a9a28b596bdc0afd329b1
parentcf86c1e30648c9b482b92444c39ea6ea0ff936a8
ccan/io: go linear for debugging.

Debugging an async library is a pain: it's nice to force it into a
linear call chain to try to track problems.

Ugly code, though.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
26 files changed:
ccan/io/backend.h
ccan/io/io.c
ccan/io/io.h
ccan/io/poll.c
ccan/io/test/run-01-start-finish-DEBUG.c [new file with mode: 0644]
ccan/io/test/run-01-start-finish.c
ccan/io/test/run-02-read-DEBUG.c [new file with mode: 0644]
ccan/io/test/run-02-read.c
ccan/io/test/run-03-readpartial-DEBUG.c [new file with mode: 0644]
ccan/io/test/run-03-readpartial.c
ccan/io/test/run-04-writepartial-DEBUG.c [new file with mode: 0644]
ccan/io/test/run-04-writepartial.c
ccan/io/test/run-05-write-DEBUG.c [new file with mode: 0644]
ccan/io/test/run-05-write.c
ccan/io/test/run-06-idle-DEBUG.c [new file with mode: 0644]
ccan/io/test/run-06-idle.c
ccan/io/test/run-07-break-DEBUG.c [new file with mode: 0644]
ccan/io/test/run-07-break.c
ccan/io/test/run-08-hangup-on-idle-DEBUG.c [new file with mode: 0644]
ccan/io/test/run-08-read-after-hangup-DEBUG.c [new file with mode: 0644]
ccan/io/test/run-10-many-DEBUG.c [new file with mode: 0644]
ccan/io/test/run-12-bidir-DEBUG.c [new file with mode: 0644]
ccan/io/test/run-12-bidir.c
ccan/io/test/run-13-all-idle-DEBUG.c [new file with mode: 0644]
ccan/io/test/run-15-timeout-DEBUG.c [new file with mode: 0644]
ccan/io/test/run-15-timeout.c