]> 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>
Wed, 16 May 2012 23:04:37 +0000 (16:04 -0700)
commit57d38cccd1f56452d3a653b674e2e3f049052d2b
tree7d9e5cc230e2810cf4b2e08f71e5100c4d4d5941
parentc7515656281368210d75c103cc68c131511debf6
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