eina + ecore - fix main loop thread id tracking on fork
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 26 Feb 2015 10:45:53 +0000 (19:45 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 26 Feb 2015 10:47:51 +0000 (19:47 +0900)
commit009ec26460e8ccc0e5e2b09bb3718d1066209ec3
tree1d683b40ca0a127883a955d29760ab77084a9b8f
parentb815f570788a4b643a6a499e421d7d49975e1cca
eina + ecore - fix main loop thread id tracking on fork

if you fork and even if you do ecore_fork_reset() a thread calling
ecore_main_loop_thread_safe_call_async(0 for example eill end up
resetting the mainloop thread id to itself (a non mainlopo thread) via
calling eina_main_loop_is() since pid changed. there is little point
in doing this so remove the pid tracking from eina and ensure mainloop
thread id is updated in ecore's fork reset.

@fix
src/lib/ecore/ecore.c
src/lib/eina/eina_main.c