aws / aws-iot-device-sdk-python-v2

Next generation AWS IoT Client SDK for Python using the AWS Common Runtime
Apache License 2.0
401 stars 212 forks source link

Multi-threading concern in Python #581

Closed wills721 closed 3 months ago

wills721 commented 3 months ago

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

bretambrose commented 3 months ago
  1. Yes
  2. Yes
jmklix commented 3 months ago

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.

wills721 commented 3 months ago

Nope. Thank you!

github-actions[bot] commented 3 months ago

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.