From a8f471739c6fe7acf91d6d39197161795a56d74c Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Wed, 16 May 2012 15:23:41 -0700 Subject: [PATCH] rstream: Set rsocket nonblocking if set to async operation If asynchronous use is specified (use of poll/select), set the rsocket to nonblocking. This matches the common usage case for asynchronous sockets. When asynchronous support is enabled, the nonblocking/blocking test option determines whether the poll/select call will block, or if rstream will spin on the calls. This provides more flexibility with how the rsocket is used. Specifically, MPI often uses nonblocking sockets, but spins on poll/select. However, many apps will use nonblocking sockets, but wait on poll/select. Signed-off-by: Sean Hefty -- 2.46.0