Skip to content

File SolidSyslogSleep.h

FileList > Core > Interface > SolidSyslogSleep.h

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

  • #include "SolidSyslogExternC.h"

Public Types Documentation

SolidSyslogSleepFunction

Millisecond sleep callback injected via config.

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