D
d_well
Hi,
I am making a multithreaded application. I have a thread for the GUI
and another for a calcul. The thread for the calcul need a lot of CPU
and it is heavy. My problem is when I run the two threads, the thread
for the calcul disturbs a lot the GUI thread. I would like that my GUI
thread run fluently and my thread for the calcul be in background
without disturb the GUI thread. I tried to modify the priorities to
lowest for the calculation thread and highest for the GUI thread but
the problem is still the same. I tried too to put the parameter
isBackground to true for the calculation thread but doesn't work. How
can I manage my threads for that my calculation thread donesn't
disturb my GUI thread.
Thanks
Fabien
I am making a multithreaded application. I have a thread for the GUI
and another for a calcul. The thread for the calcul need a lot of CPU
and it is heavy. My problem is when I run the two threads, the thread
for the calcul disturbs a lot the GUI thread. I would like that my GUI
thread run fluently and my thread for the calcul be in background
without disturb the GUI thread. I tried to modify the priorities to
lowest for the calculation thread and highest for the GUI thread but
the problem is still the same. I tried too to put the parameter
isBackground to true for the calculation thread but doesn't work. How
can I manage my threads for that my calculation thread donesn't
disturb my GUI thread.
Thanks
Fabien