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
This commit is contained in:
parent
9d3391e350
commit
7920e66f29
|
@ -171,6 +171,7 @@ _eina_thread_queue_msg_block_pool_shutdown(void)
|
||||||
_eina_thread_queue_block_pool = blknext;
|
_eina_thread_queue_block_pool = blknext;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
eina_spinlock_release(&(_eina_thread_queue_block_pool_lock));
|
||||||
eina_spinlock_free(&_eina_thread_queue_block_pool_lock);
|
eina_spinlock_free(&_eina_thread_queue_block_pool_lock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue