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

platforms/common/uORB/uORBDeviceNode: Make consistent use of ATOMIC_ENTER #576

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

jlaitine
Copy link

@jlaitine jlaitine commented Dec 5, 2023

Just changing things that looked odd to me.

ATOMIC_ENTER / ATOMIC_LEAVE should probably be used consistently; In flat build use the critical_section in all places, just like in protected builds it uses the semaphore.

@jlaitine jlaitine requested a review from pussuw December 5, 2023 08:43
…_LEAVE macros

These macros were only used to protect write / copy functions. Use them also for
callback registration.

Signed-off-by: Jukka Laitinen <[email protected]>
@jlaitine jlaitine merged commit 3b12db4 into main Dec 5, 2023
20 checks passed
@jlaitine jlaitine deleted the uorb_sem_fix branch December 5, 2023 09:32
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