Little question about threads



Hello,

I don't know a whole lot about threads, other than that I call them and
they work... That being said, I have a question about threads in memory.

If I do something like this:

Glib::Thread *startScreen;
Glib::Thread::create(sigc::mem_fun(startScreen,
&SplashScreen::on_start),true);

When on_start() has finished its routine, will Glib automatically set
startScreen to NULL and free up the space in memory that startScreen
used while it was running?

Thanks,
Aaron Geier


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]