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

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


  Branch: refs/heads/openssl-3.3
  Home:   https://github.com/openssl/openssl
  Commit: c89fe574493f438dd0e94bb9a89227e4ca84c0b7
      https://github.com/openssl/openssl/commit/c89fe574493f438dd0e94bb9a89227e4ca84c0b7
  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)



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