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-threading concern in Python #581

Closed
wills721 opened this issue May 24, 2024 · 4 comments
Closed

Multi-threading concern in Python #581

wills721 opened this issue May 24, 2024 · 4 comments
Labels
bug This issue is a bug. p3 This is a minor priority issue

Comments

@wills721
Copy link

Describe the bug

I apologize for putting this in as a bug.....I just cant find an explanation anywhere of my question:

I need to understand whether awsiossdk is thread safe and thread data safe before I decide on an approach in my Python code.

In the following simple code:

ipc_client = GreengrassCoreIPCClientV2()

  1. Is GreengrassCoreIPCClientV2() thread safe?
  2. If I use ipc_client object across multiple threads and have multiple threads publishing events to the topic is this thread safe?

Thanks in advance for helping me understand,

Will

Expected Behavior

ipc_client is thread safe

Current Behavior

Unknown

Reproduction Steps

N/A

Possible Solution

No response

Additional Information/Context

No response

SDK version used

Latest

Environment details (OS name and version, etc.)

Raspberry

@wills721 wills721 added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels May 24, 2024
@bretambrose
Copy link
Contributor

  1. Yes
  2. Yes

@jmklix
Copy link
Member

jmklix commented May 24, 2024

Please let us know if you have any other questions about this sdk. We do have a discussions section where you can ask us questions that aren't quite bugs.

@jmklix jmklix added closing-soon This issue will automatically close in 5 days unless further comments are made. p3 This is a minor priority issue and removed needs-triage This issue or PR still needs to be triaged. labels May 24, 2024
@wills721
Copy link
Author

Nope. Thank you!

@github-actions github-actions bot removed the closing-soon This issue will automatically close in 5 days unless further comments are made. label May 25, 2024
@jmklix jmklix closed this as completed May 28, 2024
Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. p3 This is a minor priority issue
Projects
None yet
Development

No branches or pull requests

3 participants