Skip to content

File SolidSyslogSleep.h

FileList > Core > Interface > SolidSyslogSleep.h

Go to the source code of this file

The millisecond-sleep callback typedef the integrator injects to drive the bounded wait-and-retry loops without busy-spinning.

  • #include "ExternC.h"

Public Attributes

Type Name
EXTERN_C_BEGIN typedef void(* SolidSyslogSleepFunction
Millisecond sleep callback injected via config.

Public Attributes Documentation

variable SolidSyslogSleepFunction

Millisecond sleep callback injected via config.

EXTERN_C_BEGIN typedef void(* SolidSyslogSleepFunction) (int milliseconds);

Drives the bounded wait-and-retry loops that would otherwise busy-spin: the TLS handshake poll, and the lwIP TCP connect and DNS resolve spins. Injecting it keeps platform sleep APIs out of the library and lets tests pass a no-op with no conditional compilation.



The documentation for this class was generated from the following file Core/Interface/SolidSyslogSleep.h