-
Notifications
You must be signed in to change notification settings - Fork 369
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prov/tcp: Handle case where epoll isn't natively supported
In the tcp provider, if wait support is requested, the code calls ofi_dynpoll_get_fd() to retrieve the epoll fd. That fd can be passed into the progress epoll fd. This works as long as epoll support is available on the platform. However, if epoll isn't available, ofi_dynpoll_get_fd() will return an invalid fd. We need to handle the non-epoll case differently, as we can't rely on chaining the file descriptors for event reporting. Signed-off-by: Sean Hefty <sean.hefty@intel.com>
- Loading branch information
Showing
2 changed files
with
24 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters