On Fri, Jul 2, 2010 at 3:34 PM, Gustavo Sverzut Barbieri <barbi...@profusion.mobi> wrote: > On Fri, Jul 2, 2010 at 8:15 AM, Enlightenment SVN > <no-re...@enlightenment.org> wrote: >> Log: >> * ecore: fix long run thread, now that I have a nice user. > > Would you mind writing the docs with what each callback does, where > each function runs (main/ecore thread, worker thread) and the > difference between ecore_thread_run and the long run version? > > Yesterday I was asked which one people should use for blocking > functions such as lightmediascanner's recursive scan, I said > ecore_thread_run but maybe it is the other.
Yeah, I should write some doc :-) But basically they are the same, just long_run is more for stuff that take time or need to notify during their lifetime the main thread. -- Cedric BAIL ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel