Hi, On Sat, Sep 3, 2011 at 3:25 AM, suxia li <[email protected]> wrote: > Hi there, here i have a weired problem. i create 2 threads by > ecore_thread_feedback_run, the try_no_queue are both set as EINA_TRUE. the > second one is run after the 1st one end, but the second one does run? i try > to change the second one by ecore_thread_run, it works. > and i also try to change the try_no_queue of second one as EINA_FALSE, it > also run. > but i don't understand the problem, who can help explain it?
We have a bug either in the doc or in the code. I just checked and try_no_queue should be set to EINA_FALSE to mean don't use the thread pool. I think that the doc is right and that the behaviour you want with EINA_TRUE, should be fixed accordingly. I will shortly fix it. I don't know how I didn't spot it earlier. If you want to fix it locally, just open ecore/src/lib/ecore/ecore_thread.c at line 1099 and remove the '!'. -- Cedric BAIL ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
