Hi, I tied as you said, remove the '!' in ecore/src/lib/ecore/ecore_thread.c
at line 1099 and use EINA_TRUE for try_no_queue. The first time, the thead
works well, but the second time, the BS happened after thread end.
I try do nothing in thread and end, it also crahsed. We try
ecore_thread_run, no crash. Could you please help me for this? Thanks~

-----邮件原件-----
发件人: Cedric BAIL [mailto:cedric.b...@free.fr] 
发送时间: 2011年9月3日 16:54
收件人: Enlightenment developer list
主题: Re: [E-devel] Questions about ecore_thread_feedback_run

Hi,

On Sat, Sep 3, 2011 at 3:25 AM, suxia li <suxia...@samsung.com> 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
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


------------------------------------------------------------------------------
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
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to