Commit graph

5 commits

Author SHA1 Message Date
Gregory Burd f8c1c0e968 Initial merge from Joyent including the vmem_allocator strategy additions. 2012-03-17 11:32:48 -04:00
Wez Furlong 1028ce923e Sync with the current sources from onnv-gate.
The solaris sources use a non-portable create-thread-suspended flag when
spawning the update thread; I've thrown together a pthreads portable
equivalent.  This has not had any real level of testing.

These changes include a lock around the underlying brk() call; the lack of lock
in earlier revisions of this repo may be the reason that
UMEM_OPTIONS=backend=sbrk was flaky.
2010-06-26 16:02:39 +00:00
Wez Furlong f90f13368b update copyright info 2008-06-03 03:48:16 +00:00
Wez Furlong 41bc866d58 be more libc friendly when replacing malloc().
Use our own getenv() on glibc platforms, as the glibc implementation calls
malloc() internally.  This allows the use of env vars to enable debugging modes
in the app.
2007-03-18 01:37:02 +00:00
Wez Furlong d7fe11594f Initial revision 2006-03-10 02:45:59 +00:00