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?
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?
Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah
You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie