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)
commit6d7f9eb4ff066e1bda93ea9f828e029d5c55bb5f
tree8c41d2029e2d58c4871643b0d64d1395327b80d4
parenta39980abe7b0589eb03c0f55782dd31b15ea2b98
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().
gpgme/ChangeLog
gpgme/engine.c
gpgme/engine.h
gpgme/rungpg.c
gpgme/wait.c