Changeset 11634


Ignore:
Timestamp:
Jan 21, 2009, 6:43:04 AM (11 years ago)
Author:
gb
Message:

If ReserveMemoryForHeap?() fails, exit (rather than returning NULL).
(We could return NULL and allow the caller to try again with smaller
sizes until it wins, but we don't.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/memory.c

    r11623 r11634  
    185185    if (!start) {
    186186      wperror("VirtualAlloc");
    187       return NULL;
     187      exit(1);
    188188    }
    189189  }
     
    197197  if (start == MAP_FAILED) {
    198198    perror("Initial mmap");
    199     return NULL;
     199    exit(1);
    200200  }
    201201
Note: See TracChangeset for help on using the changeset viewer.