diff options
author | wez <wez@1665872d-e22b-0410-9e5d-a57ad4215e6d> | 2010-06-26 16:02:39 +0000 |
---|---|---|
committer | wez <wez@1665872d-e22b-0410-9e5d-a57ad4215e6d> | 2010-06-26 16:02:39 +0000 |
commit | b433a814549547e192301f6760721a5e3c782bc4 (patch) | |
tree | 13f76ca466895d7c8cf28b69e8c538f892ba9d30 /umem_fail.c | |
parent | 5c1188edb0cacf958a460f42ca0fb21f1856bee3 (diff) | |
download | portableumem-b433a814549547e192301f6760721a5e3c782bc4.tar.gz |
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.
git-svn-id: https://labs.omniti.com/portableumem/trunk@59 1665872d-e22b-0410-9e5d-a57ad4215e6d
Diffstat (limited to 'umem_fail.c')
-rw-r--r-- | umem_fail.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/umem_fail.c b/umem_fail.c index d38dc7c..30c4b58 100644 --- a/umem_fail.c +++ b/umem_fail.c @@ -137,12 +137,6 @@ umem_panic(const char *format, ...) if (format[strlen(format)-1] != '\n') umem_error_enter("\n"); -#ifdef ECELERITY - va_start(va, format); - ec_debug_vprintf(DCRITICAL, DMEM, format, va); - va_end(va); -#endif - print_stacktrace(); umem_do_abort(); @@ -171,7 +165,6 @@ __umem_assert_failed(const char *assertion, const char *file, int line) { umem_panic("Assertion failed: %s, file %s, line %d\n", assertion, file, line); - umem_do_abort(); /*NOTREACHED*/ return (0); } |