doc/
authorMarcus Brinkmann <mb@g10code.com>
Thu, 9 May 2002 03:38:12 +0000 (03:38 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Thu, 9 May 2002 03:38:12 +0000 (03:38 +0000)
commit078989f363ebc8421b22bdcc336f2ad70aed0d29
treed42346bfae7934635031312d757e061e8a8646dd
parentde87f2907e6738b014a40478c12645722beb0803
doc/
2002-05-09  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Overview): Replace note about thread-safeness.
(Multi Threading): New section.

gpgme/
2002-05-08  Marcus Brinkmann  <marcus@g10code.de>

* w32-util.c: New static variable GET_PATH_LOCK.
(_gpgme_get_gpg_path): Remove superfluous NULL initializer.
Take lock while determining path.
(_gpgme_get_gpgsm_path): Likewise.
* version.c (do_subsystem_inits): Set DONE to 1 after
initialization.
(gpgme_get_engine_info): New variable ENGINE_INFO_LOCK.  Take lock
while determining engine info.
* rungpg.c (_gpgme_gpg_get_version): New variable
GPG_VERSION_LOCK.  Take the lock while determining the program
version.
* posix-io.c: Include "sema.h".
(_gpgme_io_spawn): New variable FIXED_SIGNALS_LOCK.  Take the lock
while fixing the signals.
(_gpgme_io_select): Make READFDS and WRITEFDS non-static.
* key.c: Include "sema.h".  New globals KEY_CACHE_LOCK and
KEY_REF_LOCK.
(capabilities_to_string): Make STRINGS very const.
(_gpgme_key_cache_add): Lock the key cache.
(_gpgme_key_cache_get): Likewise.
(gpgme_key_ref, gpgme_key_release): Lock the key_ref_lock.
* import.c (append_xml_impinfo): Make IMPORTED_FIELDS and
IMPORT_RES_FIELDS very const.  Make FIELD and FIELD_NAME a litle
const.
* engine.c (_gpgme_engine_get_info): New variable
ENGINE_INFO_LOCK.  Take lock while determining engine info.
* engine-gpgsm.c: Include "sema.h".
(_gpgme_gpgsm_get_version): New variable GPGSM_VERSION_LOCK.  Take
lock while getting program version.
13 files changed:
trunk/TODO
trunk/doc/ChangeLog
trunk/doc/gpgme.texi
trunk/gpgme/ChangeLog
trunk/gpgme/engine-gpgsm.c
trunk/gpgme/engine.c
trunk/gpgme/gpgme.h
trunk/gpgme/import.c
trunk/gpgme/key.c
trunk/gpgme/posix-io.c
trunk/gpgme/rungpg.c
trunk/gpgme/version.c
trunk/gpgme/w32-util.c