EF_SA_ONSTACK_INTERCEPT

Onload User Guide (UG1586)

Document ID
UG1586
Release Date
2023-07-31
Revision
1.2 English
Name
sa_onstack_intercept
Default
0
Minimum
0
Maximum
1
Scope
per-process

Intercept signals when signal handler is installed with SA_ONSTACK flag.

  • 0 - Do not intercept.

    If you call socket-related functions such as send, file-related functions such as close or dup from your signal handler, then your application might deadlock. (default)

  • 1 - Intercept.

There is no guarantee that SA_ONSTACK flag will really work, but Onload library will do its best.