Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Hello everyone,

As you may heard before, Jennifer (Liebel) and me changed the current
mainloop task handling. We didn't want to leave you in the dark and wanted
to tell you some differences to the previous behaviour.

First of all, there are two types of tasks now. We have idle tasks, which
don't have a waiting period and we have timer tasks which wait a specified
amount of time. If somebody creates a new task, he has to decide the type. If
it's a timer it should be given a timeout and a priority (priority list is
in core/include/vcl/scheduler.hxx) and if it's an idle it only needs a
priority.

There is also another little optimization, because we want to get rid of
the callback links, in these tasks or in more detail, get rid of the whole
callback thing. So it would be awesome not to pass a link anymore, but
sub-class the Timer and override the method “Invoke”.

There should be filed an hack about adapting the current task priorities.
Jenny and me tried to declare idle priorities without timer priorities. At
one point in the future developers have to watch over these tasks, timers
as well as idle and define new or better priorities. (list of almost all
tasks:
https://wiki.documentfoundation.org/Development/LHM_LiMux/Main_Loop#Timers_used_at_the_moment
)

That is all I can think of atm. One last request of mine would be, that if
someone discovers some weird behavior or some windows, that are not loading
or flicker, please contact me and I will look over it and try to fix it.
Because most of the time it's some dependencies among some tasks, which
should be resolved. (Contact: tobias.madl.dev@gmail.com )

Thank you in advance for all your efforts and have a nice day

regards

Tobias

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.