-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assert that message send/receive is thread-synchronized properly. (#1…
…9493) Sending and receiving of messages needs to happen with the Matter lock held (i.e. either on the Matter thread, or on some other thread after it takes the lock). Add asserts to that effect to catch accidental misuse, which can lead to data races and data corruption.
- Loading branch information
1 parent
e649f62
commit dc3862a
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters