Re: Multi-threading
- From: "Douglas C. MacKenzie" <doug mobile-intelligence com>
- To: Gtkmm Mailing List <gtkmm-list gnome org>
- Subject: Re: Multi-threading
- Date: Wed, 05 Apr 2006 15:58:23 -0400
Along these same lines, I would like to do:
while( Gtk::Main::wait_until_events_pending())
{
synchronized( gtk_lock )
{
while( Gtk::Main::events_pending())
Gtk::Main::iteration();
}
}
But I can't find a method that will block until
an event is pending, without processing that event.
Or, is it a problem to even wait for events to be
pending if another thread is updating gtk stuff
inside another block synchronized to my gtk_lock?
Doug MacKenzie
doug mobile-intelligence com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]