Re: [gtkmm] GLIBMM dispatcher comment



Martin Schulze wrote:

> Am 13.09.2002 15:42 schrieb(en) Andrew E. Makeev:
> > Murray Cumming wrote:
> >
> > > Please add patches to bugzilla.
> > >
> > > On Fri, 2002-09-13 at 12:23, Andrew E. Makeev wrote:
> > > > void fd_set_close_on_exec(int fd)
> > > > {
> > > > #ifndef G_OS_WIN32
> > > >   const int flags = fcntl(fd, F_GETFD, 0);
> > > >   g_return_if_fail(flags >= 0);
> > > >
> > > >   fcntl(fd, F_SETFD, flags | FD_CLOEXEC);
> > > > #endif
> > > > }
> > > >
> >
> > no, wait... the dispatcher is not functional on WIN32 for now...
> > We gonna find the problem first, if it is possible at all...
>
> And _is_ there already bug report saying "dispatcher is not
> functional on WIN32" in bugzilla?
>
> Regards,
>
>    Martin

Weel, try to guess :).
As I noticed in previous e-mail Dispatcher was not even linked into
libglibmm on Win32.
Problem was found in MsgWaitForMultipleObjects() call when we "switched"
dispatcher on. Probably, pipes that dispatcher is creating under UNIX
and under WIN32 is different... I haven't looked at code closely, but my
friends wonder if you may use GLIB functions to manipulate pipes in
Dispatcher class. Should GLIB take care about compatibility then for
you?

thanks in advance,
-andrew





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]