On Mon, 26 Sep 2016 14:06:24 -0300 Gustavo Sverzut Barbieri
said:
> On Sat, Sep 24, 2016 at 12:58 AM, Carsten Haitzler
> wrote:
> > On Mon, 12 Sep 2016 19:19:52 -0300 Gustavo Sverzut Barbieri
> > said:
> >
> >> Hi all,
> >>
> >> Following our discussions on "why users may like threads" in which
On Sat, Sep 24, 2016 at 12:58 AM, Carsten Haitzler wrote:
> On Mon, 12 Sep 2016 19:19:52 -0300 Gustavo Sverzut Barbieri
> said:
>
>> Hi all,
>>
>> Following our discussions on "why users may like threads" in which I
>> explained some people cannot convert the algorithms to small chunks, I
>> deci
On Mon, 12 Sep 2016 19:19:52 -0300 Gustavo Sverzut Barbieri
said:
> Hi all,
>
> Following our discussions on "why users may like threads" in which I
> explained some people cannot convert the algorithms to small chunks, I
> decided to give it a try and I faced a big problem:
>
> --> ecore_threa
Hi all,
I did the wrapping in eina_thread.h, it's almost all hidden except
EINA_THREAD_CLEANUP_PUSH()/POP() that will map in the header to
pthread_cleanp_push()/pop() as those are macros that expand to "do {"
and "while()", thus must be in the same code block.
I'll use the other functions I added
On Tue, Sep 13, 2016 at 2:40 AM, Gustavo Sverzut Barbieri
wrote:
> Em terça-feira, 13 de setembro de 2016, Vincent Torri
> escreveu:
>>
>> On Tue, Sep 13, 2016 at 5:42 AM, Gustavo Sverzut Barbieri
>> wrote:
>> > On Mon, Sep 12, 2016 at 7:19 PM, Gustavo Sverzut Barbieri
>> > wrote:
>> > [...]
>>
Em terça-feira, 13 de setembro de 2016, Vincent Torri <
vincent.to...@gmail.com> escreveu:
> On Tue, Sep 13, 2016 at 5:42 AM, Gustavo Sverzut Barbieri
> > wrote:
> > On Mon, Sep 12, 2016 at 7:19 PM, Gustavo Sverzut Barbieri
> > > wrote:
> > [...]
> >
> >> --> 0001-ecore_thread-allow-use-pthread_ca
On Mon, Sep 12, 2016 at 7:19 PM, Gustavo Sverzut Barbieri
wrote:
[...]
> --> 0001-ecore_thread-allow-use-pthread_cancel-to-stop-thread.patch
>
> will use pthread_cleanup_push()/pthread_cleanup_pop() in our thread
> code that have cancellation points (what calls the user). threads are
> now marked
Hi all,
Following our discussions on "why users may like threads" in which I
explained some people cannot convert the algorithms to small chunks, I
decided to give it a try and I faced a big problem:
--> ecore_thread_run() won't allow cancellation, it will only wait
users to call ecore_thread_che