about new object in a thread using windo
about new object in a thread using windows fucntion
Aug 19, 2013 at 2:46am UTC
When i create a thread with windows CreateThread function,and i new some objects
in this thread,when i terminate the tread in main thread,the system will delete all objects which i created in the tread?
Aug 19, 2013 at 4:05am UTC
good question mate.
my instinct is saying:
NO, windows won't delete them.
any way, i don't know the answer :P
Topic archived. No new replies allowed.
General C++ Programming
© cplusplus.com, 2000-2014 - All rights reserved -
Spotted an error? contact us