A
Axel Bock
Hi,
my question is about the thread safety of the
SelectableChannel.register() method. In my first thread I would like
to register channels (serverChannels) to a Selector instance, while a
second thread actually calls selector.select().
Now the thing is - does anybody know if that could actually work, or
is that a bad idea?
Greetings & thanks for your efforts already,
Axel.
my question is about the thread safety of the
SelectableChannel.register() method. In my first thread I would like
to register channels (serverChannels) to a Selector instance, while a
second thread actually calls selector.select().
Now the thing is - does anybody know if that could actually work, or
is that a bad idea?
Greetings & thanks for your efforts already,
Axel.