Concept Flow - Threads overview
Start main thread
Create new thread
New thread runs code
Main thread continues
Wait for new thread to finish (join)
Both threads done, program ends
This flow shows how the main thread starts, creates a new thread that runs concurrently, and then waits for it to finish before ending.