Multiple init/shutdown may be not related to this issue. I removed
duplicated init/shutdown but problem still exist.

When ecore_con_url init, one timer is created and freezed.
and this timer is thawed when ecore_con_url_get() is called.
This timer is not called until exactly same seconds of sleep  when
second ecore_main_loop_begin() starts.  Multiple call of
ecore_main_loop_begin() might affect these ecore_timer I guess.

2012/5/25 Carsten Haitzler <ras...@rasterman.com>:
> On Thu, 24 May 2012 18:01:29 +0200 Pierre-Olivier Huguet
> <pierre-olivier.hug...@asp64.com> said:
>
> is there any reason u cant just init ecore once for the process and shut it
> down once? not continually init/shut down both ecore and ecore-con etc. etc.
> remember all these efl init/shutdowns were designed for and tested for being
> done ONCE per app - ie init at start and shutdown to clean up at end. u can 
> run
> the mainloop multiple times tho... tho unusual, this should work.
>
>> Hello,
>>
>> I'm working on old programs that we can't migrate in *full EFL* right
>> now. Causing sometimes stranges behaviours...
>> In this case, I have several functions with ecore_main_loop_begin(), and
>> a complete_cb with ecore_main_loop_quit().
>> The issue I'm facing happens when instructions - not related to ecore -
>> are executed between 2 main_loop functions.
>>
>> I made a small sample program, (see attached) with :
>> - ecore main loop begin, ecor con url get, callback complete : ecore
>> main loop quit
>> - other instructions (here, just 3 sleep of 10s each)
>> - ecore main loop begin, ecor con url get, callback complete : ecore
>> main loop quit
>>
>> The first call takes 1s max, the sleep 30s, the last call takes 30s too...
>>
>> Am I missing something ?
>>
>>
>> I know we should use the main loop once, but that's impossible right
>> now. That's why I need your help !
>>
>> Thx
>
>
> --
> ------------- Codito, ergo sum - "I code, therefore I am" --------------
> The Rasterman (Carsten Haitzler)    ras...@rasterman.com
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



-- 
BRs,
Kim.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to