-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UCP/API/TEST: Add non-blocking endpoint flush and use it for RMA tests #1912
Conversation
Test FAILed. |
|
Test PASSed. |
The blocking version of endpoint flush may potentially cause a deadlock because it does not progress communications on anything except the current worker. Introduce a non-blocking flush and use it for unit tests.
136ee66
to
e7a73f7
Compare
Test PASSed. |
Test FAILed. |
Test FAILed. |
bot:bgate:retest |
Test PASSed. |
Test FAILed. |
Test PASSed. |
We need an example how block flush can be implemented, since the non-blocking calls almost always we be used in a blocking way. otherwise, it looks good |
@shamisp there is example in flush.c (blocking flush is now implemented over non-blocking one), and also in the unit tests |
I think we need to put an example that is exposed in ucp.h , so it goes to the spec, |
@bbenton please take a look. My only comment for now - we have some good examples in the spec to cover the concept. People not used to work with non-blocking flush. |
+ Add API example for how to implement blocking flush. + Fix return status from blocking flush compatibility functions. + Use non-blocking flush in hello_world example.
Test PASSed. |
Test PASSed. |
@shamisp fixed |
+1
…On Sat, Oct 21, 2017 at 06:01 Yossi Itigin ***@***.***> wrote:
@shamisp <https://github.com/shamisp> fixed
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1912 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACIe2MT7TujPNBPiNZiJQSYWjICVFVU2ks5suc7vgaJpZM4P5EuG>
.
|
@bbenton can you pls take a look? |
@bbenton - can you please take a look |
+1 |
Fixes #1641