2001-12-18 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Tue, 18 Dec 2001 21:02:35 +0000 (21:02 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Tue, 18 Dec 2001 21:02:35 +0000 (21:02 +0000)
commit554306e81fcc0ffa2492b6a5ed04c77f6d35e7f2
tree5fc5ef5778fe00c02a784746c5f53e446e7fede3
parent10919d63f7e3ac839a2cf5f2c8901bb705220120
2001-12-18  Marcus Brinkmann  <marcus@g10code.de>

* rungpg.c (struct reap_s, reap_list, reap_list_lock): Moved to ...
* engine.c (struct reap_s, reap_list, reap_list_lock): ... here.
Include `time.h', `sys/types.h', `assert.h', and `sema.h'.

* rungpg.c (_gpgme_engine_add_child_to_reap_list): New function.
(do_reaping, _gpgme_gpg_housecleaning): Moved to ...
* engine.c (do_reaping, _gpgme_engine_housecleaning): ... here.
* rungpg.c (_gpgme_gpg_release): Replace code that is now in its
own function by call to _gpgme_engine_add_child_to_reap_list().

* wait.c: Include `engine.h'.
(run_idle): Call _gpgme_engine_housecleaning(), not
_gpgme_gpg_housecleaning().
trunk/gpgme/ChangeLog
trunk/gpgme/engine.c
trunk/gpgme/engine.h
trunk/gpgme/rungpg.c
trunk/gpgme/wait.c