mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 08:18:30 +00:00
Unblock stalled i/o signals on windows
This commit is contained in:
parent
aca4214ff6
commit
9ba5b227d9
4 changed files with 43 additions and 50 deletions
|
@ -660,7 +660,7 @@ static void *__mmap_impl(char *addr, size_t size, int prot, int flags, int fd,
|
|||
if (!IsWindows()) {
|
||||
struct Map *deleted = 0;
|
||||
__maps_lock();
|
||||
if (IsWindows() || fixedmode)
|
||||
if (fixedmode)
|
||||
if (__muntrack(res.addr, size, &deleted, 0, 0))
|
||||
STRACE("memtrack compromised by hole punch oom");
|
||||
__maps_insert(map);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue