You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our application, we have, essentially, two high-priority, real-time processing threads. The rest of the application assigns threads to low-priority. The following lines in NameableThreadFactory pin the thread to priority level 5:
if (t.getPriority() != 5) {
t.setPriority(5);
}
(Aside, is that if condition superfluous? Could the code set the priority regardless of its current value? Setting pri 5 back to pri 5 would effectively be a no-op.)
We'd like to build a DBusConnection to process signals at the lowest possible priority level, such as:
I added the option to change the priority for every thread factory used in ReceivingService using DBusConnectioBuilder/DirectConnectionBuilder. Please check if this is suitable for you.
In our application, we have, essentially, two high-priority, real-time processing threads. The rest of the application assigns threads to low-priority. The following lines in
NameableThreadFactory
pin the thread to priority level 5:(Aside, is that
if
condition superfluous? Could the code set the priority regardless of its current value? Setting pri 5 back to pri 5 would effectively be a no-op.)We'd like to build a
DBusConnection
to process signals at the lowest possible priority level, such as:The text was updated successfully, but these errors were encountered: