Commit graph

14 commits

Author SHA1 Message Date
Gabriel Ebner
bc09a53f71 feat(library/task_queue): add flag to prevent priority inversion 2017-01-05 18:09:28 -08:00
Gabriel Ebner
f6b8eb6821 feat(util/task_queue): lazy tasks 2017-01-04 16:30:22 -08:00
Gabriel Ebner
902df5d134 feat(shell/server,emacs): show list of currently running tasks 2016-12-12 12:40:40 -08:00
Gabriel Ebner
a972c13ce9 refactor(library/task_queue): move task queue to util 2016-12-12 10:01:34 -05:00
Gabriel Ebner
6c34d42025 refactor(library/task_queue): break dependency on message_buffer 2016-12-12 09:44:05 -05:00
Gabriel Ebner
f584d11072 refactor(library/task_queue): do not hardcode friendship to mt_task_queue 2016-12-12 09:32:13 -05:00
Gabriel Ebner
29bf483e2a refactor(library/task_queue): extract library-specific code 2016-12-12 08:43:43 -05:00
Gabriel Ebner
d5372e770f fix(shell/lean): wait for all tasks to finish 2016-12-05 13:26:00 -08:00
Leonardo de Moura
a9d3f36f76 feat(util/thread,library/mt_task_queue): add lthread 2016-12-03 11:29:22 -08:00
Leonardo de Moura
aea8fd943e fix(library/mt_task_queue): save stack info at thread starting
We need this information to get accurate stack information.
2016-12-02 20:01:32 -08:00
Gabriel Ebner
a3daaee2e0 fix(library/mt_task_queue): reverse dependencies may already be queued
When we check whether the dependencies for a task have already been
evaluated and then accordingly move the task from waiting to queued, we
do not remove it from the reverse dependency lists it appears in.
2016-12-01 17:43:53 -08:00
Gabriel Ebner
cc9f52ade6 refactor(library/mt_task_queue): more precise task_result_states
The task result state now distinguishes created/waiting/queued, which is
useful for debugging.  mt_task_queue now also correctly waits for all
tasks during destruction.
2016-12-01 11:06:08 -08:00
Leonardo de Moura
73e5367fb6 fix(library/mt_task_queue): make sure thread finalizers are executed even if lean was compiled without pthread support 2016-11-30 11:42:29 -08:00
Gabriel Ebner
3ecfddcbd5 fix(*): fix build 2016-11-29 11:12:43 -08:00
Renamed from src/util/mt_task_queue.cpp (Browse further)