native support of Windows mutex in libgcrypt planned ?

Werner Koch wk at gnupg.org
Sun Nov 6 17:33:51 CET 2011


On Sat,  5 Nov 2011 10:51, vincent.torri at gmail.com said:

> afaics in the libgcrypt code, only pthread or gnu pth is used for mutexes.
> Is it possible to add Windows functions for mutexes ?

You may provide your own callbacks.  Take the
GCRY_THREAD_OPTION_PTHREAD_IMPL has a template and use
GCRY_THREAD_OPTION_USER.

The forthcoming Libgcrypt 1.6. will use the system's native thread
implementation by default.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gcrypt-devel mailing list