Loading topic
Thread.ofVirtual() and Thread.startVirtualThread(). That is fine for two or three threads. Real programs often need to run hundreds or thousands of small jobs at once, though, and starting and joining each thread by hand gets mes5 min read