[webkit-efl] How can I call ecore_timer not in main thread.

Leandro Pereira leandro at webkit.org
Wed Jul 6 11:10:43 PDT 2011


2011/7/6 최병운 <ryuan.choi at samsung.com>
> I saw some crash in EWeblauncher related to IconDatabase
> and it's because scheduleDispatchFunctionsOnMainThread calls ecore_timer directly.

I can confirm this. I've rolled back to an older version of ecore and
things are working again.

Some checks were introduced recently (E SVN r61041) in ecore_timer
code. The tests seem to be correct (abort() if !pthread_self()), so we
might need to patch our WTF implementation to comply with this
limitation of not being able to use timers on threads other than the
one running the main loop.

Weirdly enough, this was working before. Maybe sheer luck? I don't
know. Unfortunately, I don't have much time to debug this. Could you
please share your changes? That would help.


More information about the webkit-efl mailing list