diff options
author | Jörgen Nilsson <jorgen.nilsson@stericsson.com> | 2011-11-11 10:35:11 +0100 |
---|---|---|
committer | Kalle Vahlman <kalle.vahlman@movial.com> | 2011-12-14 08:38:31 +0200 |
commit | 58e30673b8691b934877dbc9076b7dcd09c50d58 (patch) | |
tree | 053bf3d2875a4eb16470ab6ca0d2ff3211a158e2 /debian/changelog | |
parent | ac71b69ec38908e3f1dba47113683ac78761f51a (diff) |
Library threads cleaned out correctly
The pthread created to keep track of making callbacks
to asynchronous requests was not cleaned out
correctly before closing the handle to the
b2r2 driver. The solution uses signaling, mutexes, and
join to make sure the worker thread is done before
issuing the close operation. The poll operation is
also removed from the flow, and the pthread will
lock on read until a report is ready.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 371876, 372677, 371846
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: If72ca4ff8f978d245786f1548eb47db1e47dd6aa
Signed-off-by: Jörgen Nilsson <jorgen.nilsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37453
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Robert LIND <robert.lind@stericsson.com>
Reviewed-by: Satish Adiweppa HIPPARAGI <satish.hipparagi@stericsson.com>
Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com>
Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com>
Diffstat (limited to 'debian/changelog')
0 files changed, 0 insertions, 0 deletions