Merge lp:~matttbe/cairo-dock-core/task-one-thread-async-new-struct into lp:~cairo-dock-team/cairo-dock-core/cairo-dock
Proposed by
Matthieu Baerts
Status: | Needs review |
---|---|
Proposed branch: | lp:~matttbe/cairo-dock-core/task-one-thread-async-new-struct |
Merge into: | lp:~cairo-dock-team/cairo-dock-core/cairo-dock |
Diff against target: |
384 lines (+182/-75) 4 files modified
src/gldit/cairo-dock-task.c (+165/-70) src/gldit/cairo-dock-task.h (+17/-2) src/implementations/cairo-dock-graph.c (+0/-1) src/implementations/cairo-dock-graph.h (+0/-2) |
To merge this branch: | bzr merge lp:~matttbe/cairo-dock-core/task-one-thread-async-new-struct |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Fabounet | Pending | ||
Review via email: mp+120581@code.launchpad.net |
Description of the change
A better implementation of the task.
Now thread's datas are separated in order to better prevent crash if the task is discarded and allow a task to be stopped before the end of 'get_data' and re-launch a new thread.
To post a comment you must log in.
Unmerged revisions
- 1183. By Matthieu Baerts
-
Task: be sure to cancel the next iteration if 'pTask->iPeriod == 0'
- 1182. By Matthieu Baerts
-
Task:
* fixed a typo with the check of bDiscard
* cancel: check if pThread has not been freeed before talking with it
* convert g_print to cd_debug - 1181. By Matthieu Baerts
-
Task: only used one thread and the thread clean itself to avoid crash