当一个线程在运行的时候,不管是上传还是下载,你可以查询进程状态并且给用户一个反馈(例如一个进度条)。
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展示了进程状态之间的转换。
我们先来了解一下各种进程状态。
稍后将对进程状态进行更详细的说明。
MBean接口可提供涉及进程状态的通知。
The MBean interface provides notifications that involve process state. According to the API documentation, a Server MBean generates the following state
你如何实现一个内容的进程状态驱动的?
这个进程状态很少使用。
我们还可以使用另一个命令ps来显示进程状态信息的不同部分。
There is another command, the ps command, which we use to display various pieces of process status information.
清单16展示如何在重启后查看最后几条守护进程状态消息。
Listing 16 shows how to see the last few daemon status messages after a reboot.
进度条和进度消息用于表示splashScreen的进程状态。
Progress bar and Progress message are used to indicate the process status on the splash screen.
许多文献已指出检查点开销主要是来自于对进程状态的保存。
Some papers had mentioned that the overhead of checkpoint mainly dues to save the process's state into stable storage.
与此相反,只要用户进程状态发生变化,其映射的地址空间也随即改变。
By contrast, the mapping for the user-mode portion of the address space changes whenever a process switch happens.
ps命令接受0 个或多个PID作为参数并显示相关联的进程状态。
The ps command accepts zero or more PIDs as arguments and displays the associated process status.
有关进程状态转换的详细信息,请参阅参考资料一节中的UNIX操作系统设计。
For detailed information on process state transitions, see the Design of the UNIX Operating System listed in the Resources section.
您可以通过运行命令ps(代表“进程状态”)检查它是否仍在运行或已经完成。
You can check to see whether it is still running or has completed by running the command ps (for Process Status).
这使主机可以重写默认行为和中止引发事件的托管线程,以防止损坏进程状态。
This gives the host an opportunity to override default behavior and to abort the managed thread that raised the event, to prevent it from corrupting the process state.
对于要分析的线程,该线程的全局状态、进程状态和线程级别状态必须为ON。
For a thread to be profiled, the global, process, and thread level states for the thread must be ON.
对于要分析的线程,该线程的全局状态、进程状态和线程级别状态都必须为ON。
For a thread to be profiled, the global, process, and thread level states for the thread must all be ON.
再次,也可以理解为是对一种人类文化进程状态的描述,是一种对杂交文化的思考。
Third, her painting can be interpreted as a description of the on-going development of culture, and a reflection on the hybrid culture.
切换CPU从一个进程到另外一个进程要求保存当前进程状态和恢复另外一个进程状态。
Switching the CPU to another process requires performing a state save of the current process and a state restore of a different process.
下表说明了如何在自定义管理客户端中设置通知,使之接收有关J2EE进程状态更改的最完整的信息。
The table below indicates how to set up notifications in our custom administrative client so it will receive the most complete information about the state changes of our J2EE processes.
进程检查点机制是在进程正常运行的适当时刻设置检查点,将进程状态保存到稳定存储器中。
Checkpoint facility enables the intermediate state of a running process to be saved to stable storage.
当一个线程在运行的时候,不管是上传还是下载,你可以查询进程状态并且给用户一个反馈(例如一个进度条)。
While a thread is running, either uploading or downloading, you can query it to check on its status to provide the user with feedback (eg. a progress bar).
对于AIX,iptrace是一个后台守护进程,因此您必须启动和停止该工具,以便对进程状态进行切换。
With AIX, the iptrace is a background daemon, so you must explicitly start and stop the tool to switch the process on and off. For example, to start, type.
如果您刚好在不同的时间运行该命令,您将看到date命令列出在进程状态中,但对于该脚本,发生这种情况的几率不大。
If you happened to run the command at a different instant, you might see the date command listed in the process status instead, but the odds are very small with this script.
我们可以决定将上一节中讨论的正常进程状态(停止、启动、失败等)信息与WebSphereXD启动的特定操作的覆盖范围合并在一起。
We may decide to combine the general process state information discussed in the previous section (stopping, starting, failing, and so on.) with coverage of specific actions initiated by WebSphere XD.
将进程置为睡眠状态的普通方法是将进程状态设置为TASK_INTERRUPTIBLE或TASK_UNINTERRUPTIBLE并调用调度程序的schedule函数。
The normal way to put a process to sleep is to set the process's state to either TASK_INTERRUPTIBLE or TASK_UNINTERRUPTIBLE and call the scheduler's function schedule .
平均负载的定义比较复杂,并且受到正在执行的进程的状态影响。
The definition of load average is complex and driven by the status of the processes that are executing.
未禁用信号处理程序时,进程在“当前”状态中可能表现为正在进行信号处理,从而可能隐藏了真正问题。
When the signal handler doesn't disable, the process might show up in the "current" status as signal handling, which might hide the real problem.
然而,最重要的是我们增加了双向数据绑定、进程与状态管理,以及经过改善的本地化支持和增强的数据验证框架。
However, on top of that we added bi-directional data binding, process and state management, improved localization support and an enhanced data validation framework.
应用推荐