diff options
author | Ryan Prichard <rprichard@google.com> | 2019-04-18 17:50:22 -0700 |
---|---|---|
committer | Ryan Prichard <rprichard@google.com> | 2019-04-19 17:16:25 -0700 |
commit | aca110173fc26eb107a4d9055d8a65e1fa3b46c7 (patch) | |
tree | 348af3f8a0430695b03f1af73c07a73daff82d42 /libc/malloc_hooks/tests/malloc_hooks_tests.cpp | |
parent | 9586c0f4f421e63342074eeae9806cf11d622703 (diff) |
Comment about lock destruction and unlocking
Add a couple of comments explaining that a mutex can be freed during
the unlock call, immediately after the unlock's atomic exchange call but
before its futex wakeup call.
Bug: http://b/129744706
Test: bionic unit tests
Change-Id: I2d290ebde880f46866098d022720896039e7022e
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions