Subject: Re: Threading problems
To: Johnny C. Lam <email@example.com>
From: Eric Haszlakiewicz <firstname.lastname@example.org>
Date: 11/24/2004 16:10:38
On Wed, Nov 24, 2004 at 05:05:33PM -0500, Johnny C. Lam wrote:
> What would happen if a module is linked with "-pthread", and the
> application that dlopens it is linked with "-pthread", but neither of
> them are actually threaded? Would the application fail? Or would it
> work properly but not optimally? This question becomes important in
> pkgsrc when we figure out in which way we can err without breaking packages.
that _is_ a threaded application: it has the necessary datastructures
and methods and could create another thread if it wanted to.
It's just the degenerative case of an application with a single thread,
and ALL apps start with only a single thread.