Can a Multi-Threaded GTKMM Application Use std::thread Rather Than Glib::Thread?
- From: Chris Gordon-Smith <c gordonsmith gmail com>
- To: GTKmm <gtkmm-list gnome org>
- Subject: Can a Multi-Threaded GTKMM Application Use std::thread Rather Than Glib::Thread?
- Date: Sun, 16 Oct 2011 16:28:52 +0100
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]