You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/**
* Guarantees that the specified @ref ucp_am_recv_callback_t callback,
* will always be called with @ref UCP_AM_RECV_ATTR_FLAG_DATA flag set,
* so the data will be accessible outside the callback, until
* @ref ucp_am_data_release is called.
*/
UCP_AM_FLAG_PERSISTENT_DATA = UCS_BIT(1)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
If setting
ucp_worker_set_am_recv_handler
with theparam.flags = UCP_AM_FLAG_PERSISTENT_DATA
, in theucp_am_recv_callback_t
function, will theucp_am_recv_param_t
always be setparam.flags
withUCP_AM_RECV_ATTR_FLAG_DATA
flags and withoutUCP_AM_RECV_ATTR_FLAG_RNDV
?If so, does it mean that rndv protocol won't work when setting
ucp_worker_set_am_recv_handler
with theparam.flags = UCP_AM_FLAG_PERSISTENT_DATA
If not, the
will always be called with @ref UCP_AM_RECV_ATTR_FLAG_DATA flag set
in below sentence make me confused.Beta Was this translation helpful? Give feedback.
All reactions