Files
Matthew Parkinson 71e205fe17 Fallible notify using (#790)
On Windows, the most common way to out-of-memory is to fail to commit a
page.  The current design of the Pal assumes that notify_using always
succeeds, thus we have to raise an error if it fails.  This changes the
specification of notify_using to return a bool, indicating whether the
notify succeeded or not.

This allows Windows to fail the notification, and then the surrounding
code can handle the failure appropriately, such as by throwing an
exception or returning the nullptr for the allocation.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-09 07:37:58 +00:00
..
2023-03-27 10:51:34 +01:00
2024-12-11 18:35:26 +00:00
2025-07-09 07:37:58 +00:00