例如,在Java中,建议为GUI创建一个线程,但是鉴于创建了一个AWT线程来处理事件并对其进行响应,用户创建的GUI线程将无济于事,因为它将大量工作传递给了AWT线程,那么首先创建用户生成的GUI线程有什么意义?
If the GUI thread does nothing much, why have a GUI? :)
According to my understanding, it's not a question of dividing the amount of work, more a question of dividing the work by it's nature.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.