[wx-dev] [ wxwindows-Patches-1715735 ] wxMainLoop for wxBase (hash map bug?)

Lukasz Michalski lm at zork.pl
Fri Jun 1 02:28:31 PDT 2007


On Friday 01 June 2007, Lukasz Michalski wrote:
> On Tuesday 15 May 2007, Vadim Zeitlin wrote:
> > On Tue, 15 May 2007 17:17:07 +0200 Lukasz Michalski <lm at zork.pl> wrote:
> >
> > LM> I think for now its good to have cross-platform wxSelectDispatcher
> > and LM> special-purpose wxEpollDispatcher. I see small gain from adding
> > (or LM> replacing) wxPSelectDispatcher.
> >
> >  Yes, agreed.
> >
> > LM> >  FindHandler() is not the most important one, UnregisterHandler()
> > is. It's LM> > nice that epoll gives you the pointer directly when an
> > event occurs but you LM> > still need to delete the associated object
> > somewhere. And how can you do it LM>
> > LM> So you cannot loose track on that pointer in you code.
> >
> >  Ok, but then we should change UnregisterHandler() to return void (or
> > maybe bool) in the base class. It doesn't make sense to expose an API in
> > the base class which the derived class can't implement.
>
> Hi,
> I moved FindHandler and hash table to new wxMappedFDIOHandler class.
> I changed return value from UnregisterFD to bool..

Please ignore this mail. I sent it accidently.

Sorry,
-- 
Lukasz Michalski
pgp key: http://www.zork.pl/lm.asc




More information about the wx-dev mailing list