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

Slice a copy of outstanding callbacks. #19

Closed
bigeasy opened this issue Jun 6, 2014 · 0 comments
Closed

Slice a copy of outstanding callbacks. #19

bigeasy opened this issue Jun 6, 2014 · 0 comments
Assignees

Comments

@bigeasy
Copy link
Owner

bigeasy commented Jun 6, 2014

Take a slice of the callbacks before invoking the turnstile, instead of calling all callbacks after invoking the turnstile. That's a race condition because the callback could have been added after the turnstile was entered.

@bigeasy bigeasy added this to the Able: Turnstile 0.2.0 milestone Jun 6, 2014
@bigeasy bigeasy self-assigned this Jun 6, 2014
@bigeasy bigeasy closed this as completed in f743452 Jun 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant