[openssl/openssl] 0d2a5f: NonStop: Do not call sleep() with a 0 value

Randall S. Becker noreply at github.com
Fri Apr 5 14:09:58 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 0d2a5f600c7b6bef6fa6cf720204876560a6194b
      https://github.com/openssl/openssl/commit/0d2a5f600c7b6bef6fa6cf720204876560a6194b
  Author: Randall S. Becker <randall.becker at nexbridge.ca>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M crypto/sleep.c

  Log Message:
  -----------
  NonStop: Do not call sleep() with a 0 value

This change ensures that sleep(0) is not invoked to cause unexpected
duplicate thread context switches when _REENTRANT is specified.

Fixes: #24009

Signed-off-by: Randall S. Becker <randall.becker at nexbridge.ca>

Reviewed-by: Neil Horman <nhorman at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24012)

(cherry picked from commit c89fe574493f438dd0e94bb9a89227e4ca84c0b7)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications


More information about the openssl-commits mailing list