for (;;) {
Message msg = queue.next(); // might block
if (msg == null) {
// No message indicates that the message queue is quitting.
return;
}
//省去其他代码,,,
如上代码,该循环是在 looper 类中的 loop 方法,相信大家都很熟,
轮询发现 messagequeue 中没有消息后,会退出该循环,返回 looper 方法,,,那么下次有新的消息后,从哪里重新启动这个 loop 循环?