parent process
父行程,亲体过程
2026-03-22 00:56 浏览次数 17
父行程,亲体过程
it has its own independent flow of control, as long as its parent process exists and the operating system supports it.
只要线程的父进程存在,并且操作系统支持线程,那么线程将具有它自己的独立控制流。
the daemon process is terminated either during normal plug-in termination (message in a named pipe to terminate) or if it is signaled that the parent process has terminated.
当插件正常终止(命名管道中出现终止消息)时,或者在发现父进程已经终止时,这个守护进程就被终止。
when this new process—the child process—is executing, the parent process will still be running.
当这个新进程(子进程)正在执行时,父进程仍然在运行。
fork() creates a child process that differs from the parent process only in its pid and ppid; in fact, the resource utilizations are set to 0.
fork()会创建一个子进程,与父进程相比只是pid和ppid不同;实际上,资源利用设为0。
if a parent process should die before the child process, the child process can become a defunct process—also known as a zombie process which usually results in a hung process or hung application.
如果父进程先于子进程死亡,那么子进程就成了死进程(也称为僵尸进程 ),这常常会导致进程或应用程序挂起。
that is, the parent process runs in a different and independent compensation sphere than the peer process.
即父流程相对于peer流程运行在一个运行在一个不同的独立的compensationsphere 。
if the parent process dies before its children, the orphaned children need to know who is their parent process.
如果父进程在子进程之前终止,孤立的子进程需要知道它们的父进程是谁。
a process which invokes another process with autonomy set to child is the parent process for this invoked process.
通过child自治来调用其它流程的流程被称作被调用流程的父流程。
notice that the parent process id (ppid) in the first output of ps is 8619, which is the process id (pid) of the script.
注意:ps的第一个输出中的父进程id(ppid)为8619,这是脚本的进程id(pid)。
with many decoupled process models forming part of a larger (parent) process, it is no longer possible to generate a single monitor model for the parent process and all its process components.
由于一个较大的(父)流程中包含许多已解耦的流程模型,所以不再可能为父流程及其所有流程组件生成单一监控模型。
the parent process running on one processor toggles the value of num_proc1 based on the value of num_proc2 (and branches based on the value of the variable modified by another process).
运行在一个处理器上的父进程根据 num_proc2的值来切换 num_proc1的值(并且根据由另一个处理器修改的该变量的值进行转移)。
this allows even running instances of the parent process to pick up newer versions of these subprocesses.
这使得即使正在运行的父流程实例也可以选取这些子流程的较新版本。
db2 watchdog (db2wdog): parent process for all other processes
db2watchdog(db2wdog):所有其他进程的父进程。
with late binding, the parent process instance calls the currently valid version of a subprocess when it reaches the subprocess invocation in its navigation.
使用后期绑定,父流程实例将在其导航中到达子流程调用点时调用子流程的当前有效版本。
the parent process will be responsible for notifying the chocodino customer that their order cannot be completed with a shipment of tasty chocolates.
父流程负责通知chocodino客户他们订购的美味巧克力没能完成配送。
if the child dies before the parent, a signal is sent to the parent, and then the child moves to a zombie state until the signal is acknowledged, or the parent process is killed.
如果子进程在父进程之前终止,则会向父进程发送一个信号,然后子进程转变为僵死状态,直到该信号得到确认,或父进程被终止。
although a parent process can access the process id of its child process and can thus pass arguments to it, the reverse is false.
尽管父进程可以访问其子进程的进程id并向它传递参数,但是反过来不行。
it might share the process resources with other threads that act independently (or dependently), and it dies if the parent process dies.
它可能与其他独立(或者非独立)使用的线程共享进程资源,如果它的父进程结束,那么它也将结束。
comparing the pids printed, you can see that the original process is the parent process (pid 767), and the child process (pid 768) knows who its parent is.
对所打印的pid进行比较,可以看到原始进程是父进程 (pid767),并且子进程 (pid768)知道其父进程是谁。
in this example, the parent process calls fork, waits for two seconds, then exits.
在此例中,父进程调用fork,等待两秒钟,然后退出。
the child is deleted automatically if the parent process is deleted.
如果父过程被删除,子过程会被自动地删除。