代码拉取完成,页面将自动刷新
A app has a main running stream, the main function.
A thread created in main function.
Main function stream creates a thread like mom birth a baby,
but main stream doesn't care of his baby, the thread stream.
Main stream is running while the thread is running.
At last, one of them must be terminated, maybe main stream or
the thread one.
If thread had done before main, main had done after that. So the
Whole app finished okly.
If main had done while thread running, main has gone immediately
with careless of his baby thread.
Main gone is equal to the whole app done, and the environment of
the whole app is cleared by the OS(God father). But the thread's
body is still in the memory, and can be executed by OS.
So the thread would touch the unowner memory field, it is a
criminal. So the thread would be punished by the father.
-
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。