Windows: portability fixes for IPC, SystemAsync and MCP tests

- IPC: map poll() onto WSAPoll and link ws2_32 on Windows (the module's
  remaining POSIX socket surface still needs a dedicated port).
- SystemAsync: define the non-ANSI SIGTERM/SIGKILL values the Windows
  process backend interprets itself.
- MCP tests: stdio transport cases skip on Windows instead of being
  compiled out (the scanner cannot evaluate #if guards).
- SystemAsync tests: mark the POSIX process-helper suite with
  @requires-posix.

Refs #65
This commit is contained in:
faumaray committed 2026-12-06 02:41:08 +03:00
1 parent ea285d1c65
commit c6ba2f42b5
6 files changed
+34 -2

No files matched your search

@@ -224,6 +224,9 @@ Void::Testing::Test systemasync_driver_shutdown_pending_pipe_read_retains_and_de
// Unblock file worker and kill child -> Driver shutdown completes and delivers once.
sys.gate.open();
#ifndef SIGKILL
#define SIGKILL 9
#endif
(void)child.child().send_signal(SIGKILL);
auto rep2 = drv.shutdown(
Void::Async::OperationOptions{