mirror of
https://github.com/google/pebble.git
synced 2025-04-24 05:27:07 -04:00
spelling: tries
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
be54304b88
commit
cceec5ae32
1 changed files with 1 additions and 1 deletions
|
@ -444,7 +444,7 @@ DataLoggingResult dls_log(DataLoggingSession *session, const void* data, uint32_
|
|||
//
|
||||
// Some datalogging code holds the dls_list.c:s_list_mutex while taking the
|
||||
// bt_lock. Since we are locking the list and then trying to get the bt_lock,
|
||||
// any other thread which holds the bt_lock and then trys to call a log could
|
||||
// any other thread which holds the bt_lock and then tries to call a log could
|
||||
// result in a deadlock (since dls_lock_session() uses the list mutex). For non-release
|
||||
// builds assert when this happens so we can catch the cases and fix them.
|
||||
bt_lock_assert_held(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue