internal/common: guard SIGUSR2 debug handler on Windows#863
internal/common: guard SIGUSR2 debug handler on Windows#863AkshatDudeja77 wants to merge 1 commit into
Conversation
Signed-off-by: AkshatDudeja77 <akshat.dudeja77@gmail.com>
|
IMEX is only supported on Linux |
Yes, agreed that IMEX is Linux-only. This change does not attempt to support Windows. It only guards the debug SIGUSR2 handler to avoid build/runtime issues when the codebase is analyzed or built on Windows (where SIGUSR2 is undefined), while preserving identical behavior on Linux. There is no functional impact on Linux paths. |
|
Thanks for the initiative @AkshatDudeja77. Feel free though to re-open if you think otherwise. |
This change disables the SIGUSR2-based debug signal handler on Windows.
Windows does not support SIGUSR2, which causes build failures due to
syscall.SIGUSR2 being undefined. The handler is now conditionally skipped
at runtime on Windows while preserving existing behavior on Unix-like
platforms.
No functional changes on Linux.