]> git.openfabrics.org - ~shefty/librdmacm.git/commit
librdmacm/rstream: Set rsocket nonblocking for base tests
authorSean Hefty <sean.hefty@intel.com>
Fri, 11 May 2012 17:33:13 +0000 (10:33 -0700)
committerSean Hefty <sean.hefty@intel.com>
Fri, 11 May 2012 17:33:13 +0000 (10:33 -0700)
commit8f0437ec677c4752126de8667e093667dd681d56
tree1e3526d39b2591bb10a08bfed2622f05f82b1bd8
parent5ce7d9c48d082fd1959918e9134f4bdd85c402d9
librdmacm/rstream: Set rsocket nonblocking for base tests

The base set of rstream tests want nonblocking rsockets, but don't
actually set the rsocket to nonblocking.  It instead relies on the
MSG_DONTWAIT flag.  Make the code match the expected behavior and
set the rsocket to nonblocking and make nonblocking the default.

Provide a test option to switch it back to blocking mode.  We keep
the existing nonblocking test option for compatibility.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
examples/rstream.c
man/rstream.1