stream: Add stream_run(), stream_run_wait() functions.
authorBen Pfaff <blp@nicira.com>
Wed, 6 Jan 2010 22:26:48 +0000 (14:26 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 6 Jan 2010 22:26:48 +0000 (14:26 -0800)
commit539e96f62300e4afab00e5906a28e3b89301d62e
treed91d559866c7a32d48613d2cae3a8b52c56bdb36
parente0668bd1d448d6f17c20b9c7ba91344180809061
stream: Add stream_run(), stream_run_wait() functions.

SSL, which will be added in an upcoming commit, requires some background
processing, which is best done in a "run" function in our architecture.
This commit adds stream_run() and stream_run_wait() and calls to them from
the places where they will be required.
lib/jsonrpc.c
lib/stream-fd.c
lib/stream-provider.h
lib/stream-tcp.c
lib/stream-unix.c
lib/stream.c
lib/stream.h