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

Replace environment Arc<Mutex> with upstream #18

Open
nbigaouette opened this issue Aug 25, 2020 · 0 comments
Open

Replace environment Arc<Mutex> with upstream #18

nbigaouette opened this issue Aug 25, 2020 · 0 comments

Comments

@nbigaouette
Copy link
Owner

In microsoft/onnxruntime#4583 the environment created from the C API is made threadsafe; creating multiple environments from different threads should return the singleton, including the log manager.

The merge commit (f0edd074fb6a957b7c40a5135af61654043ed1c2) is not yet released (1.4.0 is the latest for now).

When a new release is done, using it might simplify the lazy_static used here.

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