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

Threaded plugins break global context #9

Closed
maxcountryman opened this issue Aug 29, 2011 · 0 comments
Closed

Threaded plugins break global context #9

maxcountryman opened this issue Aug 29, 2011 · 0 comments

Comments

@maxcountryman
Copy link
Owner

As long as a plugin is run in the local thread, the shared context between the IRC wrapper and the plugin processor is respected. However if a plugin is run in a new thread, the lock that held the context is released, and the IRC wrapper is now permitted to update the context. This causes a race condition. At this time there isn't a clear solution to this problem.

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