On Sun, Oct 28, 2012 at 1:32 PM, Vincent Torri <[email protected]> wrote:
> I see 2 remaining problems:
>
> line 149:
>
> tw = _eina_thread_win32_find(index);
>
> index is not defined. Do you mean t instead of index ?
Yes, fixed.
> Second problem : _current_index. It is initialized to 1, then the only
> other use of _current_index is :
>
> do {
> tw->index = _current_index++;
> } while (tw->index == 0);
>
> so I doubt that one day, tw->index will be 0.
It will be zero when you are looking for a thread that is not created
by us... that should only happen for the main loop in our use case.
--
Cedric BAIL
------------------------------------------------------------------------------
WINDOWS 8 is here.
Millions of people. Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your go to resources.
http://windows8center.sourceforge.net/
join-generation-app-and-make-money-coding-fast/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel