[openssl/openssl] fdb11e: Configure: add thread-pool and default-thread-pool

ckalina noreply at github.com
Mon Oct 17 08:54:48 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: fdb11e1bcb38e33d5804f25dba176a901a19688a
      https://github.com/openssl/openssl/commit/fdb11e1bcb38e33d5804f25dba176a901a19688a
  Author: Čestmír Kalina <ckalina at redhat.com>
  Date:   2022-10-17 (Mon, 17 Oct 2022)

  Changed paths:
    M Configure

  Log Message:
  -----------
  Configure: add thread-pool and default-thread-pool

Signed-off-by: Čestmír Kalina <ckalina at redhat.com>

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12255)


  Commit: b1372197496650c3cb318cade911a3bd6af14adc
      https://github.com/openssl/openssl/commit/b1372197496650c3cb318cade911a3bd6af14adc
  Author: Čestmír Kalina <ckalina at redhat.com>
  Date:   2022-10-17 (Mon, 17 Oct 2022)

  Changed paths:
    M .github/workflows/run-checker-ci.yml

  Log Message:
  -----------
  ci: add thread-pool and default-thread-pool

Signed-off-by: Čestmír Kalina <ckalina at redhat.com>

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12255)


  Commit: 4574a7fd8dda070b129d76defca07703cab53842
      https://github.com/openssl/openssl/commit/4574a7fd8dda070b129d76defca07703cab53842
  Author: Čestmír Kalina <ckalina at redhat.com>
  Date:   2022-10-17 (Mon, 17 Oct 2022)

  Changed paths:
    M Configure
    M INSTALL.md
    M crypto/build.info
    M crypto/context.c
    A crypto/thread/api.c
    A crypto/thread/arch.c
    A crypto/thread/arch/thread_none.c
    A crypto/thread/arch/thread_posix.c
    A crypto/thread/arch/thread_win.c
    A crypto/thread/build.info
    A crypto/thread/internal.c
    M doc/man3/CRYPTO_THREAD_run_once.pod
    M include/crypto/context.h
    M include/internal/cryptlib.h
    A include/internal/thread.h
    A include/internal/thread_arch.h
    A include/openssl/thread.h
    M test/build.info
    M test/threadstest.c
    M util/libcrypto.num

  Log Message:
  -----------
  crypto: add preemptive threading support

Some primitives are designed to be used in a multi-threaded environment,
if supported, e.g., Argon2.

This patch adds support for preemptive threading and basic synchronization
primitives for platforms compliant with POSIX threads or Windows CRT.
Native functions are wrapped to provide a common (internal) API.

Threading support can be disabled at compile time. If enabled, threading
is disabled by default and needs to be explicitly enabled by the user.

Thread enablement requires an explicit limit on the number of threads that
OpenSSL may spawn (non-negative integer/infinity). The limit may be changed.

Signed-off-by: Čestmír Kalina <ckalina at redhat.com>

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12255)


Compare: https://github.com/openssl/openssl/compare/9ab57f29c78d...4574a7fd8dda


More information about the openssl-commits mailing list