mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 21:42:07 +01:00
Improve comment in SmackReactor
This commit is contained in:
parent
9a2cca2bd3
commit
3c306eaff9
1 changed files with 2 additions and 1 deletions
|
@ -208,7 +208,8 @@ public class SmackReactor {
|
|||
|
||||
long selectWait;
|
||||
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;
|
||||
} else {
|
||||
selectWait = nextScheduledAction.getTimeToDueMillis();
|
||||
|
|
Loading…
Reference in a new issue