diff options
author | Marcus Brinkmann <[email protected]> | 2003-10-06 16:17:13 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2003-10-06 16:17:13 +0000 |
commit | 0d0378a200f7347e6b8071bff8f519aaaa44bce1 (patch) | |
tree | bacac1cd0410a4305afad3cb32640f2b6d9763eb /tests/gpg/t-thread1.c | |
parent | 2003-10-06 Marcus Brinkmann <[email protected]> (diff) | |
download | gpgme-0d0378a200f7347e6b8071bff8f519aaaa44bce1.tar.gz gpgme-0d0378a200f7347e6b8071bff8f519aaaa44bce1.zip |
doc/
2003-10-06 Marcus Brinkmann <[email protected]>
* gpgme.texi (Signal Handling): New section.
gpgme/
2003-10-06 Marcus Brinkmann <[email protected]>
* io.h (_gpgme_io_subsystem_init): New prototype.
* posix-io.c (_gpgme_io_subsystem_init): Add function.
(_gpgme_io_spawn): Do not fixup signal handler here.
* version.c (do_subsystem_inits): Call _gpgme_io_subsystem_init.
tests/
2003-10-06 Marcus Brinkmann <[email protected]>
* gpg/t-thread1.c (thread_one): Do not call initialize_gpgme.
Likewise.
Diffstat (limited to '')
-rw-r--r-- | tests/gpg/t-thread1.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/gpg/t-thread1.c b/tests/gpg/t-thread1.c index 4c003b12..50549746 100644 --- a/tests/gpg/t-thread1.c +++ b/tests/gpg/t-thread1.c @@ -37,8 +37,6 @@ thread_one (void *name) { int i; - initialize_gpgme (); - for (i = 0; i < ROUNDS; i++) { gpgme_ctx_t ctx; @@ -89,7 +87,6 @@ void * thread_two (void *name) { int i; - initialize_gpgme (); const char *cipher_1_asc = make_filename ("cipher-1.asc"); char *agent_info; @@ -143,7 +140,7 @@ main (int argc, char *argv[]) init_gpgme (GPGME_PROTOCOL_OpenPGP); pthread_create (&tone, NULL, thread_one, "A"); - pthread_create (&ttwo, NULL, thread_two, "A"); + pthread_create (&ttwo, NULL, thread_two, "B"); pthread_join (tone, NULL); pthread_join (ttwo, NULL); |