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

Is rpmalloc_initialize not called? #23

Open
tomaka opened this issue Jul 18, 2024 · 0 comments
Open

Is rpmalloc_initialize not called? #23

tomaka opened this issue Jul 18, 2024 · 0 comments

Comments

@tomaka
Copy link

tomaka commented Jul 18, 2024

The README of rpmalloc mentions:

Before calling any other function in the API, you MUST call the initialization function, either rpmalloc_initialize or rpmalloc_initialize_config, or you will get undefined behaviour when calling other rpmalloc entry point.

When I saw this note I was curious about how this was done in Rust and I looked at the source code of this crate, but I can't find anywhere where rpmalloc_initialize or rpmalloc_initialize_config is being called?
If this is called somewhere and I just didn't see it, then sorry for the noise.

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