Skip to content

Termination condition  #2

@pditommaso

Description

@pditommaso

Can you elaborate about the need for a while loop in the awaitTermination method?

while (!executorService.isTerminated()){
executorService.awaitTermination(TIMEOUT, TimeUnit.SECONDS);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions