emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/alloc.c


From: Jan Djärv
Subject: [Emacs-diffs] Changes to emacs/src/alloc.c
Date: Sat, 02 Apr 2005 07:05:40 -0500

Index: emacs/src/alloc.c
diff -c emacs/src/alloc.c:1.365 emacs/src/alloc.c:1.366
*** emacs/src/alloc.c:1.365     Thu Mar 24 19:51:13 2005
--- emacs/src/alloc.c   Sat Apr  2 12:05:38 2005
***************
*** 1933,1946 ****
--- 1933,1950 ----
           mmap'ed data typically have an address towards the top of the
           address space, which won't fit into an EMACS_INT (at least on
           32-bit systems with the current tagging scheme).  --fx  */
+       BLOCK_INPUT;
        mallopt (M_MMAP_MAX, 0);
+       UNBLOCK_INPUT;
  #endif
  
        b = (struct sblock *) lisp_malloc (size + GC_STRING_EXTRA, 
MEM_TYPE_NON_LISP);
  
  #ifdef DOUG_LEA_MALLOC
        /* Back to a reasonable maximum of mmap'ed areas. */
+       BLOCK_INPUT;
        mallopt (M_MMAP_MAX, MMAP_MAX_AREAS);
+       UNBLOCK_INPUT;
  #endif
  
        b->next_free = &b->first_data;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]