1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-29 15:32:06 +01:00

Improve comment in SmackReactor

This commit is contained in:
Florian Schmaus 2019-06-05 10:54:07 +02:00
parent 9a2cca2bd3
commit 3c306eaff9

View file

@ -208,7 +208,8 @@ public class SmackReactor {
long selectWait; long selectWait;
if (nextScheduledAction == null) { if (nextScheduledAction == null) {
// There is no next scheduled action, wait indefinitely in select(). // There is no next scheduled action, wait indefinitely in select() or until another thread invokes
// selector.wakeup().
selectWait = 0; selectWait = 0;
} else { } else {
selectWait = nextScheduledAction.getTimeToDueMillis(); selectWait = nextScheduledAction.getTimeToDueMillis();