[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Qt versus threading
From: Alex Zepeda <jazepeda () pacbell ! net>
Date: 2001-09-11 6:10:05
[Download RAW message or body]
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.
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.
- alex
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic