Date: Wed, 5 Oct 2005 02:02:36 -0400 From: Mikhail Teterin <mi+kde@aldan.algebra.com> To: threads@freebsd.org Cc: jim@corebsd.or.id Subject: Non-threaded app dlopen-ing a thread-using library Message-ID: <200510050202.36730@aldan>
next in thread | raw e-mail | index | archive | help
Hello! I'm trying to improve the security/xmlsec1 port to support the nss-backend (which vendor supports, but the port does not). Nss (security/nss) use nspr (devel/nspr), which uses threads. The xmlsec1 executable, built by the security/xmlsec1 port is not multi-threaded by itself, but it is opening the specified back-ends at run-time. Do I need to make the executable itself multi-threaded -- just in case it needs to dlopen() a thread-using library, or is there a better way? Its other possible back-ends -- OpenSSL and GNUTLS -- do not use threads. Thanks! -mi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510050202.36730>