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 D6434

Reviewers: ManMower, bu5hm4n, devilhorns

Reviewed By: devilhorns

Subscribers: cedric, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6435
This commit is contained in:
Mike Blumenkrantz 2018-06-27 06:18:14 -04:00 committed by Chris Michael
parent 3a3fcfb423
commit f23344733f
1 changed files with 0 additions and 4 deletions

View File

@ -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);
}