Fix: Unsynchronized access in LTTngTCPSessiondClient
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 25 Feb 2014 21:32:05 +0000 (16:32 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 25 Feb 2014 23:00:49 +0000 (18:00 -0500)
enabledEventList is shared between the LTTngThread and eventTimer
threads but is not synchronized.

This patch changes enabledEventList's type from an ArrayList to a
synchronized HashSet.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

No differences found
This page took 0.024431 seconds and 4 git commands to generate.