[haiku-development] Re: Window locking bug?

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 18 Mar 2008 18:35:18 +0100 CET

Hi Rene,

"Rene Gollent" <anevilyak@xxxxxxxxx> wrote:
> Unfortunately it isn't...it works correctly in R5 though. How is the
> owner set up in a freshly constructed window? I notice _InitData sets
> it to B_ERROR, and also sets fCachedStack to 0, so unless something
> else is happening in between that I'm missing,  BLooper::check_lock
> cannot possibly succeed.

I've made it a bit less confusing in r24445; gLooperList.AddLooper() 
will also lock the looper.

Bye,
   Axel.


Other related posts: