aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-06-27 06:18:14 -0400
committerChris Michael <cp.michael@samsung.com>2018-06-27 06:18:14 -0400
commitf23344733f1e09b4b919647f0a49f9fdc9212804 (patch)
tree7b4415178d278a6ff655662a1bf4c7edf9b3a6b2
parenttests: ignore ibus module in ecore-imf tests when DISPLAY is not set (diff)
downloadefl-f23344733f1e09b4b919647f0a49f9fdc9212804.tar.gz
eina/mempool: remove debug thread check to verify mempool deletion thread
Summary: a common use case for mempools is that they get created by a thread but then exist for the duration of the app's lifetime until shutdown() occurs in the main thread. there is no reason to have an assert here which blocks that use case Depends on https://phab.enlightenment.org/D6434 Reviewers: ManMower, bu5hm4n, devilhorns Reviewed By: devilhorns Subscribers: cedric, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6435
-rw-r--r--src/modules/eina/mp/chained_pool/eina_chained_mempool.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/modules/eina/mp/chained_pool/eina_chained_mempool.c b/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
index 7fb0ded145..b32747ec4f 100644
--- a/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
+++ b/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
@@ -623,10 +623,6 @@ eina_chained_mempool_shutdown(void *data)
eina_spinlock_free(&mp->mutex);
-#ifdef EINA_HAVE_DEBUG_THREADS
- assert(eina_thread_equal(mp->self, eina_thread_self()));
-#endif
-
free(mp);
}