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

Thread locks #42

Merged
merged 4 commits into from
Mar 19, 2025
Merged

Thread locks #42

merged 4 commits into from
Mar 19, 2025

Conversation

eigen-value
Copy link
Contributor

@eigen-value eigen-value commented Mar 13, 2025

*** MUST BE EXTENSIVELY TESTED ***

This PR introduces 2 decorators that essentially thread-lock all the UART messaging methods

feat: uart messaging r/w locks
fix: fixes skipping host->robot commands on occasions

fix: fixes skipping host->robot commands on occasions
@eigen-value eigen-value requested a review from gbr1 March 13, 2025 16:58
@eigen-value eigen-value marked this pull request as draft March 13, 2025 16:59
Copy link
Member

@gbr1 gbr1 left a comment

Choose a reason for hiding this comment

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

I'm testing it

@gbr1
Copy link
Member

gbr1 commented Mar 17, 2025

@eigen-value please check touch_move example

@eigen-value eigen-value marked this pull request as ready for review March 19, 2025 14:33
@eigen-value
Copy link
Contributor Author

implemented a reentrant lock for thread safe methods

@eigen-value eigen-value merged commit 48b2f17 into alvik_is_lifted Mar 19, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants