[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcrypt-devel
Subject:    Libgcrypt threads model
From:       Dmitry Eremin-Solenikov <dbaryshkov () gmail ! com>
Date:       2013-12-23 10:05:47
Message-ID: CALT56yPC8g9Ao474Vchp=srf-xTMoRPjn5oCO2xWo0G-arwwrg () mail ! gmail ! com
[Download RAW message or body]

Hello,

While adapting old GnuTLS gcrypt backend to current libgcrypt codebase,
I stumbled upon current Libgcrypt threading code.

After carving through ath.c, I have the following impression:

Despite all definitions in ath.c gcrypt does not really support
either W32 threads or pthreads on systems which do not
support weak symbols (are there any of them?). Is it true?
Is it intentional?

How would ath mutexes behave if libgcrypt is linked into
an application with static pthreads? With pth or npth?
With w32?

Is it correct that GCRYCTL_SET_THREAD_CBS gcry_control
is also deprecated and should not be used in contemporary code?

-- 
With best wishes
Dmitry

_______________________________________________
Gcrypt-devel mailing list
Gcrypt-devel@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gcrypt-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic