From 7920e66f29e7b2bed8f58d1768c008b199be322a Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Wed, 2 Mar 2016 10:33:40 +0900 Subject: [PATCH] efl - fix threadqueue spinlock destruction on openbsd - doesn't like it so the spinlock on the threadqueue block pool it taken on shutdownn, while the block pool is freed up then its is destroyed, but openbsd very much doesnt like this and returns an error, so release the lock before destroying it. @fix --- src/lib/eina/eina_thread_queue.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/eina/eina_thread_queue.c b/src/lib/eina/eina_thread_queue.c index 3a012ea30e..dc92db5e5c 100644 --- a/src/lib/eina/eina_thread_queue.c +++ b/src/lib/eina/eina_thread_queue.c @@ -171,6 +171,7 @@ _eina_thread_queue_msg_block_pool_shutdown(void) _eina_thread_queue_block_pool = blknext; } } + eina_spinlock_release(&(_eina_thread_queue_block_pool_lock)); eina_spinlock_free(&_eina_thread_queue_block_pool_lock); }