eina: actually check the pid only if we fail with main loop check.
authorcedric <cedric>
Tue, 12 Jun 2012 07:58:11 +0000 (07:58 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 12 Jun 2012 07:58:11 +0000 (07:58 +0000)
commit395e023fad8c8e03afbed03a1a2982439378f176
tree80ba65289db785747a258179018f08835bcd412a
parent0750f608c05890574d9c6578f025b3cebec43ea6
eina: actually check the pid only if we fail with main loop check.

NOTE: If we are out of luck this test can work after a fork, but most
of the time it will be correct and cost nothing, instead of costing
a syscall.

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