If I create a thread using CreateThread( ), does it share the same memory for global variables as the main thread? So if I changed a global variable from the main thread, would the value be changed in the new thread?