I found the answer to my question:

http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1Th
read.html#b165854ff2fc9b454ee4d97050485782

-Aaron Geier

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Aaron Geier
Sent: Thursday, December 13, 2007 8:53 AM
To: [email protected]
Subject: 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
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to