Page MenuHomePhabricator

ector software: catch up losing tasks among the threads.
ClosedPublic

Authored by Hermet on Dec 18 2019, 10:46 PM.

Details

Summary

ector sw uses thread pool internally to process rle job parallel.

First of all, we lost task handles which allocated to each threads,
we must free the task data after thread done.

Secondly, tasks can be managed by one shape instance,
the instance can't catch upon multiple instances alive.
only last task can be attached to the shape instance.

Thus, obvisouly the instance doesn't expect to handle multiple tasks
at the same time, one instance only take care of one task on threading pool.

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
Hermet created this revision.Dec 18 2019, 10:46 PM

It seems that this patch has no reviewers specified. If you are unsure who can review your patch, please check this wiki page and see if anyone can be added: https://phab.enlightenment.org/w/maintainers_reviewers/

Hermet requested review of this revision.Dec 18 2019, 10:46 PM
Hermet planned changes to this revision.Dec 18 2019, 10:55 PM
Hermet updated this revision to Diff 27650.Dec 18 2019, 11:12 PM

remove unecessary code.

jsuya accepted this revision.Dec 18 2019, 11:36 PM
This revision is now accepted and ready to land.Dec 18 2019, 11:36 PM
This revision was automatically updated to reflect the committed changes.