devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=f23344733f1e09b4b919647f0a49f9fdc9212804

commit f23344733f1e09b4b919647f0a49f9fdc9212804
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Jun 27 06:18:14 2018 -0400

    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
---
 src/modules/eina/mp/chained_pool/eina_chained_mempool.c | 4 ----
 1 file changed, 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);
 }
 

-- 


Reply via email to