You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Cliff Jansen <cl...@gmail.com> on 2015/03/13 10:00:46 UTC
Review Request 32033: C reactor event samples,
including external loop (libuv)
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/32033/
-----------------------------------------------------------
Review request for qpid, Gordon Sim and Rafael Schloming.
Bugs: PROTON-837
https://issues.apache.org/jira/browse/PROTON-837
Repository: qpid-proton-git
Description
-------
simple_send.c provides a simple send/receive example over a single
outgoing connection.
simple_echo.c provides a simple server that manages multiple incoming
connections from simple_send (or msgr-send, or reactor-send).
uv_iohandler.c provides an external loop substitute to drive Proton
events. It can be combined with simple_echo as written and with
arbitrary other programs with minor tweaks.
simple_send and simple_echo will benefit from review as to suitability
for good tutorial material for using the Proton reactor event model,
especially for correctness and clarity.
uv_iohandler is more a proof of concept and hopefully demonstrates a
decent blueprint for integrating other external loops into Proton.
Diffs
-----
examples/engine/c/README PRE-CREATION
examples/engine/c/simple_echo.c PRE-CREATION
examples/engine/c/simple_send.c PRE-CREATION
examples/engine/c/uv_iohandler.c PRE-CREATION
Diff: https://reviews.apache.org/r/32033/diff/
Testing
-------
fedora 20 so far. headwinds expected on Windows
Thanks,
Cliff Jansen