Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2002 11:39:16 +0200
From:      Joerg Barfurth <joerg.barfurth@sun.com>
Cc:        kevin.hendricks@sympatico.ca, Martin Blapp <mb@imp.ch>, openoffice@freebsd.org, kan@freebsd.org
Subject:   Re: [porting-dev] Re: FreeBSD: OOo 1.01 Mutex.acquire crash in File -> Autopilot -> Formular
Message-ID:  <3DAFD6C4.7070109@sun.com>
References:  <20021017150309.G90671-100000@levais.imp.ch> <openoffice.porting.dev-200210171104.00941.kevin.hendricks@sympatico.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi Kevin,

Kevin B. Hendricks wrote:

> I looked in line 1963 in toolkit/source/awt/vclxwindows.cxx where the 
> OGuard object is created in the VCLXFixedText class in its 
> getMinimumSize() implemantation.
> 
> It seems the results of a GetMutex() call is passed to the OGuard but 
> although I can find numerous definitions of GetMutex() for many of the 
> classes in toolkit/ I simply can not find a Mutex anywhere in the 
> VCLXFixedText class or an implementation of GetMutex() defined anywhere 
> for that class.
> 
> The VCLXFixedText class extends the XFixedText class and I looked in 
> toolkit in the XFixedText.hpp and related files but could find no Mutex or 
> implemenation of GetMutex() for that class either.
> 
> So I have no idea what exactly the call to GetMutex() in the VCLXFixedText 
> class is resolving to in the build.
> 
> Perhaps someone who understands the flow and C++ a bit better than I do 
> could take a look at this and tell us which implementation of GetMutex() 
> is being used by the VCLXFixedText class.

The class is derived from VCLXWindow, which in turn is derived from 
VCLXDevice. And there you find the mutex. You find the (inline) function 
VCLXDevice::getMutex() in toolkit/inc/toolkit/awt/vclxdevice.hxx.

HTH, Jörg



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-openoffice" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DAFD6C4.7070109>