Skip to content

Close zookeeper #58

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Close zookeeper #58

wants to merge 2 commits into from

Conversation

dohse
Copy link
Contributor

@dohse dohse commented Nov 5, 2013

No description provided.

@ghost ghost assigned EricRobert Nov 5, 2013
@RAttab
Copy link
Contributor

RAttab commented Nov 5, 2013

I'll let Eric handle this pr but you should know that he's also re-writing the entire zookeeper connector because the current version is hopelessly broken.

sigemptyset(&mask);
struct sigaction action = {
[] (int signal) {
unique_lock<mutex> lock{closeMutex};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could cause deadlocks right? Locking something is a signal is risky.

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

Successfully merging this pull request may close these issues.

3 participants