title: Do threads have a distinct heap?
body: <p>As far as I know each thread gets a distinct stack when the thread is created by the operating system. I wonder if each thread has a heap distinct to itself also?</p>