On Wed, Oct 31, 2012 at 1:37 AM, Patryk Kaczmarek <patry...@samsung.com> wrote: > I had find strange behaviour in two functions, ecore_thread_check and > ecore_thread_cancel, while argument is NULL both returns TRUE. > That is correct or something should be fixed?
Well, not really defined (as it doesn't really make sense). But here is the logic : - ecore_thread_cancel return EINA_TRUE if the thread has been cancelled. A NULL thread is a thread that doesn't exist, that doesn't run. If it doesn't run, it means it has been cancelled. At least that was my logic. - ecore_thread_check same idea here, EINA_TRUE means that the thread has been cancelled. -- Cedric BAIL ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel