Closed dnbln closed 3 years ago
From what I can tell the UserDataHolderBase
seems to be thread-safe, so maybe also change the ConcurrentLinkedQueue
s to plain ArrayList
and the AtomicBoolean
s to plain Boolean
s?
It looks like UserDataHolderBase
is thread-safe in that setting a value is atomic, but performing a get
and then modifying the value internally (such as using add
on a list) is not inherently thread safe, so we need to keep the concurrent/atomic classes.
Fixes #20