Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Thread API

The following use uses a static factory method to create a virtual thread, invokes its start method to schedule it, and then invokes the join method to wait up to 5 seconds for the thread to terminate.

...