NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: thread-stub related query



On Fri, Jul 03, 2009 at 06:40:45PM +0530, Channa wrote:
> This is because
> 1. In the application when the library libexample.so is opened the pthread
> library  constructor is called since libxx.so is linked with pthread ,
> which sets the value __isthreaded to 1.

Exactly - we do not support dlopen() of threaded libraries from a non-threaded
binary. So this behaviour is by design.

Martin


Home | Main Index | Thread Index | Old Index