Skip to content

Comments

Fix ScheduledSingleThreadExecutor.awaitTermination exception for nano time calculation error#319

Open
MapleMaster wants to merge 3 commits intopuniverse:masterfrom
MapleMaster:0.7.0
Open

Fix ScheduledSingleThreadExecutor.awaitTermination exception for nano time calculation error#319
MapleMaster wants to merge 3 commits intopuniverse:masterfrom
MapleMaster:0.7.0

Conversation

@MapleMaster
Copy link

DESCRIPTION
ScheduledSingleThreadExecutor.awaitTermination crashes for Thread.join() second parameter nanos out of range, which is calculated wrong in awaitTermination ().
worker.join(millis, (int) (nanos - millis));

By the way, nobody ever calls this function? Does it mean we no need to await for a fiber ?

@MapleMaster
Copy link
Author

It seems Project Loom is very active recently, how about it compare to Quasar? And what's the future plan for Loom and Quasar development?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant