RE: Little question about threads



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: gtkmm-list-bounces gnome org [mailto:gtkmm-list-bounces gnome org]
On Behalf Of Aaron Geier
Sent: Thursday, December 13, 2007 8:53 AM
To: gtkmm-list gnome org
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
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


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