* eina: improve chained mempool speed.
authorcedric <cedric>
Tue, 12 Oct 2010 16:53:30 +0000 (16:53 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 12 Oct 2010 16:53:30 +0000 (16:53 +0000)
commit953b6cc36cf48d1c46041cf5e8812b44c6426b53
treeec9fde3bd4b75e293184f154d75b5ac0309da119
parent89f913c5d372ffb34f160e413c3c8e684192fd47
* eina: improve chained mempool speed.

By removing pthread lock when thread safety is not required.
By not walking over the buffer for nothing.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53310 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/eina_main.c
src/lib/eina_private.h
src/modules/mp/chained_pool/eina_chained_mempool.c