Can a Multi-Threaded GTKMM Application Use std::thread Rather Than Glib::Thread?



Hello All

I have recently introduced multi-threading into my artificial chemistry
simulator, so that the GUI can be active while the simulation is
running.

To do this, I've used Glib::Thread. Now that C++11 provides threading
with std::thread, I would prefer to use that. Is it possible to use
std::thread so that I have one thread for my GTKMM GUI, and one (or
more) for my simulation processing?

Chris Gordon-Smith
www.simsoup.info



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