ecore: force pthread_join even when main loop isn't running.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 30 May 2012 12:14:34 +0000 (12:14 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 30 May 2012 12:14:34 +0000 (12:14 +0000)
commit65888173bcbe8eea8e4cccf6b8a7e881a3eba361
treeadd63882e5dbfab7af944c2ce4ae37ee4f201ad0
parent47e9adeac7811fcf105ff29b5c32c3cf846b7563
ecore: force pthread_join even when main loop isn't running.

pthread_create can fail if to much pthread are pending. As pthread_join
is only called when the main loop can flush the async call list, there was
a possibility for edje_cc to run out of thread due to that. We know
force the flush of the async call list and so call pthread_join when
pthread_create fail.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@71555 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
ChangeLog
NEWS
src/lib/ecore/ecore.c
src/lib/ecore/ecore_private.h
src/lib/ecore/ecore_thread.c