ecore: do count threads only in the main loop.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 28 Jun 2011 15:53:19 +0000 (15:53 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 28 Jun 2011 15:53:19 +0000 (15:53 +0000)
commit523ac01306fa4c146a3c90a659a9c143c55c6db6
tree049c58a87f19ec5a11eac4bac5a82d4ef7cd1ce3
parent2f659bc562b8a2f626003e4e83055122d6c63104
ecore: do count threads only in the main loop.

NOTE: for an unknow reason I always get the wrong number
of threads when doing the computation from the thread.
Even if I use volatile and mutex. So to avoid that move
that stuff in the main loop. It increase the complexity
of the code, but at least it work.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60767 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/ecore/ecore_thread.c