You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2021/02/06 03:46:29 UTC

[GitHub] [mynewt-nimble] DurandA opened a new issue #911: apps/blehr: shared variable safety

DurandA opened a new issue #911:
URL: https://github.com/apache/mynewt-nimble/issues/911


   https://github.com/apache/mynewt-nimble/blob/7b5b5e5b512133e50ef8a517b13e7269f9c821fd/apps/blehr/src/main.c#L33
   
   Probably not an actual bug, but shouldn't `notify_state` in principle use an `atomic_bool` or another locking mechanism?
   
   It is written in `blehr_gap_event` callback while it is read in the `blehr_tx_hrate` from a timer task.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org