Home GnuPG

2004-03-10 Marcus Brinkmann <marcus@g10code.de>
7995b7f73dceUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

2004-03-10 Marcus Brinkmann <marcus@g10code.de>

  • configure.ac (LIBGCRYPT_CONFIG_LIBS_PTHREAD,

LIBGCRYPT_CONFIG_CFLAGS_PTHREAD, LIBGCRYPT_CONFIG_LIBS_PTH,
LIBGCRYPT_CONFIG_CFLAGS_PTH, have_pth, have_pthread, AC_CHECK_PTH,
AC_CHECK_LIB(pthread), HAVE_PTH, HAVE_PTHREAD): Removed.

doc/
2004-03-11 Marcus Brinkmann <marcus@g10code.de>

  • gcrypt.texi (Multi Threading): Partially document new thread

support.

src/
2004-03-10 Marcus Brinkmann <marcus@g10code.de>

  • Makefile.am (ltlib_libgcrypt_pthread, ltlib_libgcrypt_pth): Removed.

(lib_LTLIBRARIES): Remove those variables from here.
(libgcrypt_pthread_la_SOURCES, libgcrypt_pthread_la_LDFLAGS,
(libgcrypt_pthread_la_DEPENDENCIES, libgcrypt_pthread_la_LIBADD,
(libgcrypt_pth_la_SOURCES, libgcrypt_pth_la_LDFLAGS,
(libgcrypt_pth_la_DEPENDENCIES, libgcrypt_pth_la_LIBADD,
(noinst_LTLIBRARIES): Removed.
(libgcrypt_real_la_SOURCES): Merge with ...
(libgcrypt_la_SOURCES): ... likewise.
(libgcrypt_real_la_DEPENDENCIES): Merge with ...
(libgcrypt_la_DEPENDENCIES): ... this.
(libgcrypt_real_la_LIBADD): Merge with ...
(libgcrypt_la_LIBADD): ... this.

  • libgcrypt-config.in (libs_pthread, libs_pth, cflags_pth)

(cflags_pthread, thread_module, thread_modules): Removed.
(Options): Remove --thread option from help output. If the option
is specified, output an error and exit.
For --cflags and --libs option, remove pth and pthread from output.

  • gcrypt.h: Include <sys/types.h> and <sys/socket.h>.

(enum gcry_ctl_cmds): Add GCRYCTL_SET_THREAD_CBS.
(gcry_thread_cbs): New struct.

  • global.c (gcry_control): Implement GCRYCTL_SET_THREAD_CBS.

(global_init): Don't call ath_init here.

  • ath.h: Rewritten.
  • ath.c: Rewritten.

Details

Provenance
Marcus Brinkmann <mb@g10code.com>Authored on Mar 11 2004, 2:44 AM
Parents
rCfe6cf2d0fb86: Post release development preparation.
Branches
Unknown
Tags
Unknown
References
tag: marcus-after-thread-cbs

Event Timeline

Marcus Brinkmann <mb@g10code.com> committed rC7995b7f73dce: 2004-03-10 Marcus Brinkmann <marcus@g10code.de> (authored by Marcus Brinkmann <mb@g10code.com>).Mar 11 2004, 2:44 AM