zeromq / jzmq

Java binding for ZeroMQ
http://www.zeromq.org
GNU General Public License v3.0
590 stars 364 forks source link

ZLoop synchronization #481

Closed comius closed 3 years ago

comius commented 5 years ago

Adding poolers from another thread to ZLoop after ZLoop is started causes ConcurrentModification exception. The code should be either synchronized or the addPooler/removePoller method should check they are executed from the same thread.