Should I use a background thread for my UI actions?

不问归期 提交于 2019-12-06 04:18:36
  1. I would update on a background thread (No. 2)
  2. You could always disable user input on sections of your window, and display a loading message.
  3. Simple to say - go through all your code, and make sure you are making the least number of calls required, and that you do not call any unnecessary functions. You could also run some long lasting operations on separate threads, and then get notified when the action finishes, so you can process other things while the operation goes on.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!