[Top][All Lists]

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

Re: System calls without error checks in w32

From: grischka
Subject: Re: System calls without error checks in w32
Date: Mon, 31 May 2010 11:18:54 +0200
User-agent: Thunderbird (Windows/20090812)

> ... For example I know Drew recently wrote about problems when
> creating new frames. It is quite hard to both understand what is
> happening and what is a bug and what is not. Is there just a bad
> timing? A missing hook to proceed the function etc (you may have to
> wait until the frame creation is finished)?

Typically such problems have to do with the two-thread approach in the
"w32" code, which again has to do with emacs unfortunate event system
(aka. command_loop) which is not really compatible with GUI backends
(w32, gtk).

Basically:  Replace the command_loop by callbacks, then get rid of the
w32-GUI-thread, then watch how the problems disappeared.  Magically ;-)

--- grischka

reply via email to

[Prev in Thread] Current Thread [Next in Thread]