]> git.ozlabs.org Git - ccan/commitdiff
ccan/io: keep always pointers to plans, not a linked list.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 28 Feb 2019 05:25:29 +0000 (15:55 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 28 Feb 2019 05:25:29 +0000 (15:55 +1030)
Duplex io_conns can be in the always list twice, and it was a source
of bugs, but I didn't want to add a second list_node.  Since there are
not many always at once, it's better (and more space-efficient) to use
a simple pointer array.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found