<div dir="ltr">Hi Alex,<div><br></div><div>first of all thanks for the answer. I have looked into thread management already and there is currently no way to set thread priority in GLib, that functionality was remover a long time ago (<a href="https://git.gnome.org/browse/glib/commit/?id=51d92adeee67d1df30d13fe41e97af9e563f62ec">commit it was removed in</a>) due to its unreliability. There is one way it could work right now but it would require (as far as I can tell) modifying "xfce/exo" which I would like to avoid as it is not used by just Thunar and might invoke problems with other peaces of Xfce using it.<br><br>I will try and write a "job manager" over the next few days and commit it for review and approval.</div><div><br></div><div>If you, or anyone else, have any ides on how to solve this differently I would appreciate any input.</div><div><br></div><div>Regards,</div><div>Stefan Mitic</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 26, 2015 at 8:15 PM Alex <<a href="mailto:acs82@gmx.de">acs82@gmx.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi Stefan,<br>
<br>
your solution-approach sounds ok, however I would solve the issue in a<br>
different way:<br>
I would add a "pause" and a "queue" button into the file-transfer-window<br>
which pops up when tranfering/copying files, where "queue" = pause +<br>
auto-wakeup when there is no other file-transfere running.<br>
<br>
I quess there should be a way to pause thunar-jobs ? .. e.g. minimize<br>
it's prio, so that it is not scheduled.<br>
<br>
That should minimize thread-switching ... so the user would have the<br>
full freedom to only queue single file-transfere operations on need.<br>
<br>
Cheers,<br>
Alex<br>
<br>
<br>
On 26.10.2015 14:03, Stefan Mitić wrote:<br>
> Hi everyone,<br>
><br>
> I am trying to implement the following functionality into Thunar:<br>
> <a href="https://bugzilla.xfce.org/show_bug.cgi?id=12123" rel="noreferrer" target="_blank">https://bugzilla.xfce.org/show_bug.cgi?id=12123</a><br>
><br>
> The way I understand it the only way to do this would be to create a new<br>
> class "Thunar job manager" that will take over the management of Thunar<br>
> jobs and their execution, that way we would be able to have control over<br>
> the order of execution of jobs.<br>
><br>
> My question is what do you think about this approach and do you have any<br>
> other ideas to implement this behavior?<br>
><br>
> Best regards,<br>
> Stefan Mitic<br>
><br>
><br>
> _______________________________________________<br>
> Xfce4-dev mailing list<br>
> <a href="mailto:Xfce4-dev@xfce.org" target="_blank">Xfce4-dev@xfce.org</a><br>
> <a href="https://mail.xfce.org/mailman/listinfo/xfce4-dev" rel="noreferrer" target="_blank">https://mail.xfce.org/mailman/listinfo/xfce4-dev</a><br>
><br>
<br>
_______________________________________________<br>
Xfce4-dev mailing list<br>
<a href="mailto:Xfce4-dev@xfce.org" target="_blank">Xfce4-dev@xfce.org</a><br>
<a href="https://mail.xfce.org/mailman/listinfo/xfce4-dev" rel="noreferrer" target="_blank">https://mail.xfce.org/mailman/listinfo/xfce4-dev</a></blockquote></div>