GPGME multi threading

Marcus Brinkmann Marcus.Brinkmann@ruhr-uni-bochum.de
Tue Jan 14 22:19:02 2003


On Mon, Dec 30, 2002 at 08:26:47PM +0000, Martin Galpin wrote:
> Hey there,
> I'm looking to use GPGME in a Qt application and I've noticed it does support 
> multi threading. I was wondering how you go about enabling this for your 
> program. 
> 
> I do compile with -pthread.

>From the manual, section "Multi Threading":

If you link your program dynamically to @acronym{GPGME} and your
supported thread library, @acronym{GPGME} will automatically detect
the presence of this library and activate its use.  If you link to
both pthread and GNU Pth, @acronym{GPGME} will use the pthread
support.  This feature requires weak symbol support.

hanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    marcus@gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/