• When a child process dies, its parent is notified with a signal called SIGCHLD.

    当子进程终止时,会使用一个名为SIGCHLD的信号来通知其父进程。

    youdao

  • supervise can also stop and restart its child process by sending signals to it.

    supervise也可以向子进程发送信号,停止或重新启动子进程。

    youdao

  • The parent macroflow should call the "sub-process" microflow as a child process.

    父级宏流应将“子流程”微流作为子流程进行调用。

    youdao

  • The code implements a parent and child process that communicates via a shared memory segment.

    代码实现通过共享内存段通信的父进程和子进程。

    youdao

  • After returning from the fork system call, the child process is instructed to execv the new binary.

    在从fork系统调用返回以后,将指示子进程执行(execv)新的二进制文件。

    youdao

  • Now we are ready to read the data from the standard output of the child process.

    现在,我们准备从子进程的标准输出中读数据。

    youdao

  • The child process ID is shown in the third position and remains the same during a sequential restore.

    子进程ID显示在第3个位置,在一次顺序恢复期间一直保持不变。

    youdao

  • A pipe, though, can only be used between a parent and child process, not between two arbitrary processes.

    但是,管道只能在父进程和子进程之间使用,不能在任意两个进程之间使用。

    youdao

  • 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脚本的外壳的一个子进程启动。

    youdao

  • Because the child process is running in the background, control returns to the shell as soon as the parent dies.

    由于子进程在后台运行,父进程一终止,控制即返回到Shell。

    youdao

  • For the SIGCHLD signal, the application must call the wait (3c) function to wait for the child process to exit.

    对于SIGCHLD信号,应用程序必须调用wait (3c)函数,以等待子进程退出。

    youdao

  • If you want to create a separate process, you must first fork, and then exec the new binary within the child process.

    如果希望创建一个单独的进程,您必须首先运行fork,然后在子进程中执行(exec)新的二进制文件。

    youdao

  • ECHILD -- The wait() or waitpid() function tried to wait for a child process to exit, but all children have already exited.

    ECHILD:wait()或waitpid()函数尝试等待退出子进程,但所有子项都已经退出。

    youdao

  • 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的返回值,现在该代码可以检查确定它是父进程还是子进程,并进行相应的操作。

    youdao

  • Despite its untimely exit, the child process is still in the process table as a defunct process, otherwise known as a zombie.

    尽管子进程提前退出,但它仍然在进程表中作为失效 (defunct) 进程存在,或称为僵死 (zombie) 进程。

    youdao

  • 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并向它传递参数,但是反过来不行。

    youdao

  • In this code: pid_t waitpid(pid_t pid, int *status, int options), waitpid() infinitely waits for the child process to terminate.

    在这段代码中:pid_twaitpid(pid_t pid,int *status, intoptions),waitpid()会无限期等待子进程的终止。

    youdao

  • LpThreadAttributes is a pointer to the thread attributes that determines whether the thread handle can be inherited by the child process.

    lpThreadAttributes是指向线程属性的指针,决定了线程句柄是否能由子进程继承。

    youdao

  • 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。

    youdao

  • The process that gets the 0 is called the child process, and the non-zero result goes to the original process, which is the parent process.

    获得0的进程称为子进程,非零结果属于原始进程,即父进程。

    youdao

  • 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进行比较,可以看到原始进程是父进程(PID 767),并且子进程(PID 768)知道其父进程是谁。

    youdao

  • When you look at the process table again, you'll see that the priority of this process has changed from its default as well as the child process that was forked from it (ps).

    当您再次使用 ps查看进程表时,您将看到,对于这个进程以及它通过 fork 系统调用创建的子进程,它们的优先级都不再是缺省值。

    youdao

  • Each of these commands spawns a child process to run the command or script you designate, and each captures the output of your command as it's written to standard output (stdout).

    所有这些命令都衍生一个子进程,用于运行您指定的命令或脚本,并且每个子进程会在命令输出写到标准输出(stdout)时捕捉它们。

    youdao

  • 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.

    如果父进程先于子进程死亡,那么子进程就成了死进程(也称为僵尸进程),这常常会导致进程或应用程序挂起。

    youdao

  • 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.

    如果父进程先于子进程死亡,那么子进程就成了死进程(也称为僵尸进程),这常常会导致进程或应用程序挂起。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定