libgcrypt/src (6 files)

cvs user werner cvs@cvs.gnupg.org
Tue, 17 Sep 2002 14:40:05 +0200


    Date: Tuesday, September 17, 2002 @ 14:40:05
  Author: werner
    Path: /cvs/gnupg/libgcrypt/src

Modified: ChangeLog Makefile.am gcrypt.h global.c secmem.c
 Removed: mutex.h

* global.c (global_init): New.  Use it instead of the setting
any_init_done.  Initialize the ATH system.
(gcry_check_version): Hook global_init in.  This is the suggested
way to initialize the library.
(_gcry_no_internal_locking): Removed.  We simply call a ath_deinit
and leave it to ATH to disbale the locking.

* ath.c, ath.h, ath-pth.c, ath-pthread.c: New. Taken from GPGME.
* mutex.h: Removed.
* Makefile.am (ath_components): New.


-------------+
 ChangeLog   |   17 ++++++
 Makefile.am |   23 ++++++++-
 gcrypt.h    |    2 
 global.c    |   49 ++++++++++++-------
 mutex.h     |  145 ----------------------------------------------------------
 secmem.c    |    3 -
 6 files changed, 69 insertions(+), 170 deletions(-)