·2,447,543篇论文数据,部分数据来源于NoteExpress
当一个线程在运行的时候,不管是上传还是下载,你可以查询进程状态并且给用户一个反馈(例如一个进度条)。
While a thread is running, either uploading or downloading, you can query it to check on its status to provide the user with feedback (e.g. a progress bar).
图1展示了进程状态之间的转换。
我们先来了解一下各种进程状态。
应用推荐