Skip to content

sigaction compatibility for windows#3366

Merged
igaw merged 2 commits into
linux-nvme:masterfrom
Micron-TPG-OSS:bgoing/sigaction-compatibility
May 16, 2026
Merged

sigaction compatibility for windows#3366
igaw merged 2 commits into
linux-nvme:masterfrom
Micron-TPG-OSS:bgoing/sigaction-compatibility

Conversation

@bgoing-micron-oss
Copy link
Copy Markdown
Contributor

Addresses the lack of sigaction on Windows.

  • Provides platform-specific implementations for sighdl (sighdl-linux.c/sighdl-win.c).
  • Adds a check for sigaction support, and updates uses of sigaction to fall back to using signal if sigaction is not supported.

Adds platform-specific sighdl implementations.

Signed-off-by: Broc Going <bgoing@micron.com>
Adds HAVE_SIGACTION check and updates amzn-nvme to use signal if
sigaction is not supported.

Signed-off-by: Broc Going <bgoing>
@igaw
Copy link
Copy Markdown
Collaborator

igaw commented May 16, 2026

Nice! Thanks this looks way nicer instead of platform headers, IMO :)

@igaw igaw merged commit eca9650 into linux-nvme:master May 16, 2026
28 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants