Commit graph

11 commits

Author SHA1 Message Date
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 b9dc821378 move umem_startup constructor to the umem .so itself, rather than
the malloc replacement.

Rename ec_atomic to umem_atomic.

Add a posix_memalign function.

-ldl isn't universal; make a configure check for it.
2010-06-26 13:10:39 +00:00
Wez Furlong da390045aa improve compatibility with PPC platforms. 2010-02-19 15:14:55 +00:00
Wez Furlong f90f13368b update copyright info 2008-06-03 03:48:16 +00:00
Wez Furlong 1a747468dc better check for issetugid 2007-03-18 02:17:55 +00:00
Wez Furlong 35e9dc7e11 fix another typo. 2007-03-17 18:45:43 +00:00
Devon H. O'Dell 7b6452aa2d Insert bits to allow successful compilation (and apparent success in
running) on FreeBSD.
2006-10-13 18:03:34 +00:00
Richard Dawe 07d8e36190 sol_compat.h: Pull in <sys/time.h> for proto of gettimeofday (fixes warnings) 2006-09-03 12:50:46 +00:00
Wez Furlong 855e068963 make the build experience nicer outside of ecelerity.
Add a simple test app.
Note: we don't compile the malloc replacement component.
2006-03-11 18:57:05 +00:00
Richard Dawe 3f0a4a4e9b Build a basic shared library on Linux; may not work! 2006-03-11 17:15:25 +00:00
Wez Furlong d7fe11594f Initial revision 2006-03-10 02:45:59 +00:00