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)
commitbc3e5affe63064e5f3180fd655061247b5ec2685
tree049c58a87f19ec5a11eac4bac5a82d4ef7cd1ce3
parent22dddb62f83688cbf905ed0bc4602f160984e8cd
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@60767 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/ecore/ecore_thread.c