-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
feature-requestA feature should be added or improved.A feature should be added or improved.p2This is a standard priority issueThis is a standard priority issue
Description
Describe the feature
Provide a mechanism to prevent the sdk from breaking when InitAPI gets called when it has already been initialized.
Related issues/discussions:
- Is there a way to know Aws::InitAPI has been called?Β #2406
- Multiple calls to InitAPI() / ShutdownAPI()?Β #456
Use Case
If code is being used in a library then there is currently no way for the library to know if InitAPI has already been called.
Proposed Solution
This will not/should not be RAII.
Using locks and reference counting this would allow multiple calls of InitAPI. Changes need to be make on this sdk and with the CRT
Other Information
Community Note
- Please vote on this issue by adding a π reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue, please leave a comment
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
WolfgangVogl, Gribouillages, ljp0101, bcsgh, takacsd and 8 more
Metadata
Metadata
Assignees
Labels
feature-requestA feature should be added or improved.A feature should be added or improved.p2This is a standard priority issueThis is a standard priority issue