Re: my program freez when i click update
- From: Harry van Haaren <harryhaaren gmail com>
- To: "MysteriousMan ." <yahyai-0 hotmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: my program freez when i click update
- Date: Tue, 27 Sep 2011 12:05:09 +0100
Hey Mysterious,
You'll definatly want to take a look at Glib::Dispatcher, its a way of sending a "signal" to another thread in a safe way.
If you also need to pass information, you'll need to use a "thread safe" queue, and then once the event is in the queue
you need to call emit() on the dispatcher.
I'd be happy enough to talk you through some basic threading issues with Gtkmm if you run into problems...
Cheers, -Harry
PS: I'm not a threading master, but I've recently wrote a real-time multi-threaded Gtkmm based UI & network program, so some of this
stuff is still fresh in my brain :)
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]