native support of Windows mutex in libgcrypt planned ?

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

On Sat,  5 Nov 2011 10:51, vincent.torri at 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

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



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gcrypt-devel mailing list