Skip to content
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

Socket should have close() method #100

Closed
oliora opened this issue Aug 11, 2015 · 0 comments
Closed

Socket should have close() method #100

oliora opened this issue Aug 11, 2015 · 0 comments

Comments

@oliora
Copy link

oliora commented Aug 11, 2015

There should be a way to close a socket (i.e. cancel all async operations and cleanup all resources associated with it, especially ZMQ socket) without calling a destructor. This is extremely useful in multi-threaded applications which tend to spread shared pointers. In such scenario, user has no simple control over socket object lifetime but may need to close it at exact point.
This story is somehow related to #77.

xaqq added a commit that referenced this issue Aug 24, 2015
Resolve #100 implement close method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant