Hi,

According to the API at 
https://qpid.apache.org/releases/qpid-proton-0.12.0/proton/c/api/group__selectable.html#ga18868416a68de0a8c51cfb664510edac
 the pn_selectable_terminate() call is described as "Terminate a selectable”.

I am looking for a more specific description - would it be true to say that if 
I get a POLLHUP from poll(), I would respond by calling 
pn_selectable_terminate() on that selectable?

Similarly, the API at 
https://qpid.apache.org/releases/qpid-proton-0.12.0/proton/c/api/group__selectable.html#gae6702a8bd6fb7e6e52294cfd7f4638e4
 describes pn_selectable_error() as "Notify a selectable that there is an error 
on the file descriptor”. Would I be right in understanding that if I get 
POLLERR from poll(), I would respond by calling pn_selectable_error() on the 
selectable?

Under what circumstances would you call the undocumented 
pn_selectable_release() function?

Just checking whether the above is the right thing to do.

Regards,
Graham
—


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to