aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorJoakim Verona2011-11-22 15:39:42 +0100
committerJoakim Verona2011-11-22 15:39:42 +0100
commit40bb789236e486a3f36eefb2840c293369ce2af3 (patch)
tree8e81d3aa5f232ec7f2c5187c683cb0998d2dc4e2 /src/alloc.c
parent62318aed495a48e24ff73fe79e420dd801df3189 (diff)
parenta8e1496d750ab0f571b3412ff61aaa4da640a036 (diff)
downloademacs-40bb789236e486a3f36eefb2840c293369ce2af3.tar.gz
emacs-40bb789236e486a3f36eefb2840c293369ce2af3.zip
upstream
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 985e4b71426..5d04bd77872 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -882,7 +882,7 @@ safe_alloca_unwind (Lisp_Object arg)
882 882
883/* Like malloc but used for allocating Lisp data. NBYTES is the 883/* Like malloc but used for allocating Lisp data. NBYTES is the
884 number of bytes to allocate, TYPE describes the intended use of the 884 number of bytes to allocate, TYPE describes the intended use of the
885 allcated memory block (for strings, for conses, ...). */ 885 allocated memory block (for strings, for conses, ...). */
886 886
887#ifndef USE_LSB_TAG 887#ifndef USE_LSB_TAG
888static void *lisp_malloc_loser; 888static void *lisp_malloc_loser;
@@ -1412,7 +1412,7 @@ uninterrupt_malloc (void)
1412#ifdef DOUG_LEA_MALLOC 1412#ifdef DOUG_LEA_MALLOC
1413 pthread_mutexattr_t attr; 1413 pthread_mutexattr_t attr;
1414 1414
1415 /* GLIBC has a faster way to do this, but lets keep it portable. 1415 /* GLIBC has a faster way to do this, but let's keep it portable.
1416 This is according to the Single UNIX Specification. */ 1416 This is according to the Single UNIX Specification. */
1417 pthread_mutexattr_init (&attr); 1417 pthread_mutexattr_init (&attr);
1418 pthread_mutexattr_settype (&attr, PTHREAD_MUTEX_RECURSIVE); 1418 pthread_mutexattr_settype (&attr, PTHREAD_MUTEX_RECURSIVE);