diff options
author | Jens Lorenz <jlorenz@de.adit-jv.com> | 2018-04-04 09:47:25 +0200 |
---|---|---|
committer | Jens Lorenz <jlorenz@de.adit-jv.com> | 2018-04-09 17:00:47 +0200 |
commit | 29b816429d141584af128256545ca0dc96ce0be3 (patch) | |
tree | 1a92719a70418f91284174eb0c079018c65c8bfa /docs/globals.html | |
parent | e9240071f34ae96f72f4befd19f6fa68cc721ad1 (diff) | |
download | audiomanager-29b816429d141584af128256545ca0dc96ce0be3.tar.gz |
AMUtil: Rework of socketHandler to avoid calls of invalidated objects
This patch tries to follow the idea raised in PR26.
Following two patches have been reworked:
commit: cfe0e77aaf87a0590ceea42f6afa62b0c7d95e80
commit: bc33226f59910a960f62d419ba10d4ea761e3724
The biggest change applies to the internal database. Instead of having a
vector for all items which will be copied inside the worker thread the new
approach aims a central map which allows to store the sh_poll elements in
containers. By this a container is valid until it is remove from map.
The remove of items inside a map is now centralized within the worker and
only the worker is responsible to keep the ppoll list and the map in sync.
This patch also extends the unit tests to stress different timer scenarios.
Signed-off-by: Aleksandar Donchev <Aleksander.Donchev@partner.bmw.de>
Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
Diffstat (limited to 'docs/globals.html')
0 files changed, 0 insertions, 0 deletions