in reply to ReShow images without user interact with the GUI.
The recent Gtk2 releases have
You also have the ability to use $thread->enter and $thread->leave to share Gtk2 objects across threads. Now, this may not have anything to do with your problem, but it goes to show that thread support is evolving fast, and that you should be sure what "level of Gtk2 libs" your Wx is built with, and write code accordingly.use Gtk2 qw/-init -threads-init/; #this line causes the warning, but dosn't die die "Glib::Object thread safetly failed" unless Glib::Object->set_threadsafe (TRUE);
You just can't use threads like they are some "improved form of forking with shared data", and expect everything to work, especially in a higher level abstraction layer like Wx.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: ReShow images without user interact with the GUI.
by Anonymous Monk on Feb 05, 2006 at 12:28 UTC | |
by zentara (Cardinal) on Feb 05, 2006 at 16:44 UTC |