[interfacekit] Re: deadlock with BApplication/BWindow
- From: Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>
- To: interfacekit@xxxxxxxxxxxxx
- Date: Mon, 14 Mar 2005 02:06:49 +0100
On 2005-03-14 at 00:59:06 [+0100], Axel Dörfler wrote:
> Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx> wrote:
> > done. Putting the window_quit_loop() code into a loop, as in you
> > proposal,
> > would at least make sure that there won't be any windows anymore that
> > have
> > been created from the app thread or any window thread. So this is
> > probably a
> > good idea.
>
> What about an additional flag that avoids creating windows?
Good in theory, but probably of little help in practice. We don't use
Exceptions, so the BWindow constructor can't report errors back. Run()
could, but who ever checks its return value? On the other hand, it could as
well just destroy the window before even starting the looper thread.
CU, Ingo
- References:
- [interfacekit] Re: deadlock with BApplication/BWindow
- From: Axel Dörfler
Other related posts:
- » [interfacekit] deadlock with BApplication/BWindow
- » [interfacekit] Re: deadlock with BApplication/BWindow
- » [interfacekit] Re: deadlock with BApplication/BWindow
- » [interfacekit] Re: deadlock with BApplication/BWindow
- » [interfacekit] Re: deadlock with BApplication/BWindow
- » [interfacekit] Re: deadlock with BApplication/BWindow
- » [interfacekit] Re: deadlock with BApplication/BWindow
- » [interfacekit] Re: deadlock with BApplication/BWindow
- » [interfacekit] Re: deadlock with BApplication/BWindow
- » [interfacekit] Re: deadlock with BApplication/BWindow
- » [interfacekit] Re: deadlock with BApplication/BWindow
- [interfacekit] Re: deadlock with BApplication/BWindow
- From: Axel Dörfler