commit | 25689c1676ab911fa7887ec87b730b00325e4b90 | [log] [tgz] |
---|---|---|
author | Jakub Pawlowski <jpawlowski@google.com> | Wed Jan 20 16:24:03 2016 -0800 |
committer | Jakub Pawlowski <jpawlowski@google.com> | Thu Jan 21 10:50:28 2016 -0800 |
tree | cc1b4a410b75e64c0964d8ab691fabe1e246f50f | |
parent | 5fbbf42c5fdf387d7a0ecab1a621161e7b382576 [diff] |
service: Solve locking issues inside GATT interface ObserverList class handles adding/removing elements during iteration by itself, therefore we don't need to do any locking. Additionally, change lock type to shared for better performance, and to avoid possible deadlocks that might be caused by calling HAL from observers. Change-Id: I4c372f1e03bd27a96bc6c036ab8ce34f5501c0a7