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

Class initialization independent of the instance fetch #6

Open
alexmarincu opened this issue Sep 1, 2023 · 0 comments
Open

Class initialization independent of the instance fetch #6

alexmarincu opened this issue Sep 1, 2023 · 0 comments
Assignees

Comments

@alexmarincu
Copy link
Owner

alexmarincu commented Sep 1, 2023

Currently, the classes are initialized when calling the instance function for the first time. This is not thread-safe. In order to make it thread-safe it would require the implementation of a critical section handling (e.g. mutex lock) which would differ based on the used platform. In order to keep the framework independent of any platform the class initialization could be separated from the instance fetch. The user will be responsible for initializing the classes at the beginning of the program.

@alexmarincu alexmarincu converted this from a draft issue Sep 1, 2023
@alexmarincu alexmarincu self-assigned this Sep 1, 2023
@alexmarincu alexmarincu changed the title Class initialization Class initialization independent of the instance fetch Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant