ucx_mempool_free() aborts execution instead of just exiting on failure

Mon, 06 Mar 2017 15:37:40 +0100

author
Mike Becker <universe@uap-core.de>
date
Mon, 06 Mar 2017 15:37:40 +0100
changeset 240
8f937a3a6d11
parent 239
1634c3ea89da
child 241
661f33ef20d8

ucx_mempool_free() aborts execution instead of just exiting on failure

ucx/mempool.c file | annotate | diff | comparison | revisions
--- a/ucx/mempool.c	Mon Feb 27 17:25:36 2017 +0100
+++ b/ucx/mempool.c	Mon Mar 06 15:37:40 2017 +0100
@@ -172,7 +172,7 @@
     }
     fprintf(stderr, "FATAL: 0x%08" PRIxPTR" not in mpool 0x%08" PRIxPTR"\n",
             (intptr_t)ptr, (intptr_t)pool);
-    exit(EXIT_FAILURE);
+    abort();
 }
 
 void ucx_mempool_destroy(UcxMempool *pool) {

mercurial