ecore: force pthread_join even when main loop isn't running.
authorCedric BAIL <cedric.bail@free.fr>
Wed, 30 May 2012 12:14:34 +0000 (12:14 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Wed, 30 May 2012 12:14:34 +0000 (12:14 +0000)
commit6d2b2f366fc5161ac57be95d471d7e683a865073
treef6738d406f16a08e950aca19518cd22c717ac2f8
parent7772b280025bbc6e946da0611e6dbe98ca440910
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.

SVN revision: 71555
legacy/ecore/ChangeLog
legacy/ecore/NEWS
legacy/ecore/src/lib/ecore/ecore.c
legacy/ecore/src/lib/ecore/ecore_private.h
legacy/ecore/src/lib/ecore/ecore_thread.c