Think You Know How Java Threads Work? Wait Until You See What the OS Does!

Creating a thread in Java seems simple — but what’s happening under the hood will blow your mind.