cvs commit: src/lib/libc/stdlib malloc.c

Jason Evans jasone at
Tue Apr 4 19:46:29 UTC 2006

jasone      2006-04-04 19:46:28 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdlib      malloc.c 
  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 at
  Revision  Changes    Path
  1.122     +21 -8     src/lib/libc/stdlib/malloc.c

More information about the cvs-src mailing list