[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Qt versus threading
From:       Bradley T Hughes <bhughes () trolltech ! com>
Date:       2001-09-11 7:23:57
[Download RAW message or body]

On Tuesday 11 September 2001 08:10, Alex Zepeda wrote:
> On Mon, Sep 10, 2001 at 11:03:38AM +0200, Martin Vogt wrote:
> > No one investigated yet, why it does not work on FreeBSD, but
> > there was an mail on kdemultimedia that mpeglib does directly link
> > against lc_r and better should use -pthread for linking with
> > thread support.
> > Additionally mpeglib does not link against qt.
>
> Well I've seen recursive locking react differently before on my Linux
> and fbsd boxen.  However, with the advent of -current -pthread has
> become depreciated, and tagging -lc_r on the end is the appropiate way
> to go.

I would prefer to have KDE use the -pthread option, since we want to 
target -STABLE users.  YES, I know -CURRENT does things differently, and 
once -CURRENT becomes -STABLE, then I think we should move to the new 
method.  But until then, let's stick with what the majority of the 
userbase uses: -STABLE.

> There's a variety of gotchas involved.  Among others I've also seen
> allocating huge objects (see earlier implementations of qDebug) fail
> only with a threaded app (IIRC it was knode) and bring the entire
> program down.
>
> At least we have the source to play around with.. unlike say with a
> brand to remain unnamed cellular phone from a European company that
> still can't quite grasp how to make a proper IS-95/ANSI-J-008 compliant
> cell phone.
>
> Summary:
>
> Stuff's acting up, likely a multitude of reasons.  For *most* stuff the
> FreeBSD threading support, works.  For some prominent stuff, it does
> not.

Any examples of "prominent stuff"?  If it's something identifiable, we can 
probably fix it in FreeBSD itself, and provide a workaround until that fix 
propogates.

> - alex

-- 
--
Bradley T. Hughes <bhughes@trolltech.com>
Trolltech AS - Waldemar Thranes gt. 98 N-0175 Oslo, Norway
Office: +47 21604892
Mobile: +47 92019781

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic