Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 1998 23:14:00 -0700 (PDT)
From:      John Birrell <jb@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   cvs commit: src/lib/libc/stdlib malloc.c
Message-ID:  <199809300614.XAA10772@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jb          1998/09/29 23:13:59 PDT

  Modified files:
    lib/libc/stdlib      malloc.c 
  Log:
  Delete the XXX comments that refer to spinlock recursion. The malloc/free/
  realloc functions check for recursion within the malloc code itself. In
  a thread-safe library, the single spinlock ensures that no two threads
  go inside the protected code at the same time. The thread implementation
  is responsible for ensuring that the spinlock does in fact protect malloc.
  There was a window of opportunity in which this was not the case. I'll fix
  that with a commit RSN.
  
  Revision  Changes    Path
  1.43      +1 -15     src/lib/libc/stdlib/malloc.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809300614.XAA10772>