wxMutex, wxCondition issues
Jason Dolan
jayson.dolan at gmail.com
Mon Oct 1 06:23:43 PDT 2007
On Sep 28, 3:11 am, rob... at roebling.de (Robert Roebling) wrote:
> Jason Dolan wrote:
> > I still have the issue in 2.8.6, but... I find something else out.
>
> > To back up for a minute... I had just received a new laptop for work
> > (a Thinkpad T61p). I installed the newest version of Ubuntu (actually
> > not officially released yet), Gutsy Gibbon. Gutsy has Gnome 2.20 and
> > uses libgtk2.12. I compiled wxGTK2.8.5 and wxGTK2.8.6 on this
> > machine. This is when I discovered the above problem.
>
> > My old work laptop is using Ubuntu Fiesty Fawn, with Gnome 2.18 and
> > libgtk2.10.11. Previous to trying wxGTK2.8.5, I had been working with
> > wxGTK2.8.4 on this old laptop. Everything worked fine on the old one.
> > I JUST installed wxGTK2.8.6 on my old laptop and everything STILL
> > works fine.
> > > > Everything works fine for a short period of time. At a certain point
> > > > however the worker thread will post the event, but the GUI thread will
> > > > NOT receive that event UNLESS I move my mouse over the window?!?
>
> This looks like an idle problem. wxPostEvent should wake the idle
> queue up (wxWakeUpIdle) but doesn't do that in your case. Mouse
> moving does wake up the idle handler so the question is why.
> Look at src/gtk/app.cpp wxapp_install_idle_handler() and see
> why it doesn't wake up the idle code (in some cases).
>
> Robert
Thanks Robert. I've been away all weekend, but I'll look into that
now.
More information about the wx-users
mailing list