native support of Windows mutex in libgcrypt planned ?

Werner Koch wk at gnupg.org
Sun Nov 6 20:51:48 CET 2011


On Sun,  6 Nov 2011 19:55, vincent.torri at gmail.com said:

> I searched in the latest source code without finding any Win32 calls (like
> CreateMutex). Or maybe i didn't understand your remark ?

The latest source is under development and has currently no support for
Windows; I am talking about the stable version: Did you read the section
on multi threading and the required thread callbacks in the manual?
There you find this remark:

  Libgcrypt contains convenient macros, which define the
  necessary thread callbacks for PThread and for GNU Pth:

If you now need a different threading system (i.e. for W32), you may
write such a macro or simply init the the thread callbacks structure
directly.


Shalom-Salam,

   Werner

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




More information about the Gcrypt-devel mailing list