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

Multi thread #133

Merged
merged 2 commits into from
Dec 19, 2018
Merged

Multi thread #133

merged 2 commits into from
Dec 19, 2018

Conversation

marcoregueira
Copy link
Contributor

This requests makes GenFu thread safe, allowing shared access to registration engine.
Of course that doesn't means deterministic: if active threads register different rules for each type it could cause interferences because of the shared static storage.

There are two commits in this request.

First one: Add tests. They are all red.
Second: Go for green.

@ScarletKuro
Copy link

Why this is not merged? Looks like the author doesn't develop this library actively anymore.
This problems (#143) (#143) are pain in the ass

@marcoregueira
Copy link
Contributor Author

marcoregueira commented Dec 19, 2018

@ScarletKuro You can use https://www.nuget.org/packages/GenFu.Instantiable.NonOfficial/1.3.4-preview.

Aside of thread safety it adds support for creating Genfu instances.

Source code is here, https://www.nuget.org/packages/GenFu.Instantiable.NonOfficial/1.3.4-preview, if you prefer to build the code yourself.

================================================
Edit.
Mobile devices are evil and my fingers too big. Source code is here. :)
https://github.com/marcoregueira/genfu

@stimms stimms merged commit 77f4490 into MisterJames:master Dec 19, 2018
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