Wait for part of child process to finish?
等待子进程的一部分来完成?
Fork to create a new child process with new pid.
使用fork创建一个具有新的PID的子进程。
Compensation in an invoked long-running child process.
被调用的长期运行子流程的补偿。
The existing child process should handle these requests.
现有的子进程应该处理这些请求。
Note that the child process never returns from the call to execv.
请注意,该子进程一直没有从execv调用返回。
Listing 7. Example of a parent and child process in a bash environment.
清单7.bash环境中的父进程和子进程示例。
The child process continues by printing its parent PID for five seconds.
子进程在五秒钟内继续打印其父pid。
This is important because supervise manages only its immediate child process.
这一点很重要,因为supervise只能管理自己的直接子进程。
When a child process dies, its parent is notified with a signal called SIGCHLD.
当子进程终止时,会使用一个名为SIGCHLD的信号来通知其父进程。
Pipe, Fork, and Exec - Two Way Communication Between Parent and Child Process.
管,叉,和执行-双向亲子之间的沟通过程。
supervise can also stop and restart its child process by sending signals to it.
supervise也可以向子进程发送信号,停止或重新启动子进程。
The parent macroflow should call the "sub-process" microflow as a child process.
父级宏流应将“子流程”微流作为子流程进行调用。
Parent is executing before child process, how to force opposite through semaphores?
父母是子进程之前执行,如何通过信号量相反力量吗?
The function returns an integer, which represents the exit code for the child process.
这个函数返回一个整数,代表子进程的退出码。
The code implements a parent and child process that communicates via a shared memory segment.
代码实现通过共享内存段通信的父进程和子进程。
After you execute die3, the process listing is checked and the child process executes cleanly.
在执行die3以后,代码检查了进程清单,并干净地执行子进程。
When this new process-the child process-is executing, the parent process will still be running.
当这个新进程(子进程)正在执行时,父进程仍然在运行。
After returning from the fork system call, the child process is instructed to execv the new binary.
在从fork系统调用返回以后,将指示子进程执行(execv)新的二进制文件。
Designs and realizes the fore-born child process communication layer of the fontal machine system.
设计和实现了前置机系统的预先派生子进程的通讯层。
A pipe, though, can only be used between a parent and child process, not between two arbitrary processes.
但是,管道只能在父进程和子进程之间使用,不能在任意两个进程之间使用。
The child process ID is shown in the third position and remains the same during a sequential restore.
子进程ID显示在第3个位置,在一次顺序恢复期间一直保持不变。
If a child process calls get on an InheritableThreadLocal, it sees the same object as the parent would.
如果一个子线程调用InheritableThreadLocal的get,那么它将与它的父线程看到同一个对象。
If you did not use exec, the JVM would start as a child process of the shell that is executing the run script.
如果没有使用exec,那么jvm会作为执行run脚本的外壳的一个子进程启动。
Because the child process is running in the background, control returns to the shell as soon as the parent dies.
由于子进程在后台运行,父进程一终止,控制即返回到Shell。
For the SIGCHLD signal, the application must call the wait (3c) function to wait for the child process to exit.
对于SIGCHLD信号,应用程序必须调用wait (3c)函数,以等待子进程退出。
If you want to create a separate process, you must first fork, and then exec the new binary within the child process.
如果希望创建一个单独的进程,您必须首先运行fork,然后在子进程中执行(exec)新的二进制文件。
ECHILD -- The wait() or waitpid() function tried to wait for a child process to exit, but all children have already exited.
ECHILD:wait()或waitpid()函数尝试等待退出子进程,但所有子项都已经退出。
With the return value of fork in mind, the code can now check to see if it is the parent or child process and act accordingly.
考虑到fork的返回值,现在该代码可以检查确定它是父进程还是子进程,并进行相应的操作。
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并向它传递参数,但是反过来不行。
Despite its untimely exit, the child process is still in the process table as a defunct process, otherwise known as a zombie.
尽管子进程提前退出,但它仍然在进程表中作为失效 (defunct) 进程存在,或称为僵死 (zombie) 进程。
应用推荐