Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Apr 2006 19:46:28 +0000 (UTC)
From:      Jason Evans <jasone@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/stdlib malloc.c
Message-ID:  <200604041946.k34JkSqu088952@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jasone      2006-04-04 19:46:28 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdlib      malloc.c 
  Log:
  Add init_lock, and use it to protect against allocator initialization
  races.  This isn't currently necessary for libpthread or libthr, but
  without it external threads libraries like the linuxthreads port are
  not safe to use.
  
  Reported by:    ganbold@micom.mng.net
  
  Revision  Changes    Path
  1.122     +21 -8     src/lib/libc/stdlib/malloc.c



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