Age | Commit message (Collapse) | Author | Files | Lines |
|
revert it, and make the constructor-ness conditional on not being
"standalone".
git-svn-id: https://labs.omniti.com/portableumem/trunk@61 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
.init section.
The constructor is called too late, and clobbers state, leading
to heap corruption later.
git-svn-id: https://labs.omniti.com/portableumem/trunk@60 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
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.
git-svn-id: https://labs.omniti.com/portableumem/trunk@59 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
the malloc replacement.
Rename ec_atomic to umem_atomic.
Add a posix_memalign function.
-ldl isn't universal; make a configure check for it.
git-svn-id: https://labs.omniti.com/portableumem/trunk@58 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
note that this appears to be broken on non-solaris platforms.
* make a safer/better check for number of cpus on linux
* use pthread_once to register the forkhandler, as it is possible to call it twice in some scenarios without this protection
git-svn-id: https://labs.omniti.com/portableumem/trunk@56 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@52 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@49 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
running) on FreeBSD.
git-svn-id: https://labs.omniti.com/portableumem/trunk@27 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@26 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
instead of tar.gz
git-svn-id: https://labs.omniti.com/portableumem/trunk@16 1665872d-e22b-0410-9e5d-a57ad4215e6d
|
|
git-svn-id: https://labs.omniti.com/portableumem/trunk@2 1665872d-e22b-0410-9e5d-a57ad4215e6d
|