Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

Register() call in Iotcc is not thread-safe #158

Open
pmasrani opened this issue Oct 10, 2017 · 0 comments
Open

Register() call in Iotcc is not thread-safe #158

pmasrani opened this issue Oct 10, 2017 · 0 comments

Comments

@pmasrani
Copy link

https://github.com/vmware/liota/blob/master/liota/dccs/iotcc.py#L135

In Iotcc, register() call sends a message and awaits the response on a queue. The queue implementation is not thread-safe and if multiple listener threads are awaiting on the register() call, it can lead to inconsistent behavior due to out of order messages

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant