Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Moved from sync model to async model for handling of receive and send… #289

Merged

Conversation

nayakned
Copy link
Contributor

kuksa_viss_client was initially developed using a sync model and hence had several polling loops.
Eventually kuksa_viss_client moved to using an async model using python asyncio.
This PR removes most of (not all) polling loops.
Additionally, the _sendReceiveMsg() function is made thread safe with this commit.

No new features. Only fixes and improvements.

… threads for websocket handling.

Signed-off-by: nayakned <naresh.nayak@de.bosch.com>
Copy link
Contributor

@SebastianSchildt SebastianSchildt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked. lgtm

@SebastianSchildt SebastianSchildt merged commit 8de66dc into eclipse-archived:master Jun 27, 2022
@nayakned nayakned deleted the kuksa_viss_client_sync branch June 29, 2022 14:20
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants