文件名称:create-process
- 所属分类:
- 进程与线程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2013-11-15
- 文件大小:
- 3.16mb
- 下载次数:
- 0次
- 提 供 者:
- J***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
创建两个进程,让子进程读取一个文件,父进程等待子进程读取完文件后继续执行,实现进程协同工作。
进程协同工作就是协调好两个进程,使之安排好先后次序并以此执行,可以用等待函数来实现这一点。当需要等待子进程运行结束时,可在父进程中调用等待函数。
-Create two processes, allowing the child to read a file, read the parent process waits for the child process to continue execution after the file, realize the process of working together. Processes work together to coordinate the two processes is to make arrangements for implementation of the order and thus can be used to wait for the function to achieve this. When you need to wait for the child process end of the run, you can call the parent process to wait for the function.
进程协同工作就是协调好两个进程,使之安排好先后次序并以此执行,可以用等待函数来实现这一点。当需要等待子进程运行结束时,可在父进程中调用等待函数。
-Create two processes, allowing the child to read a file, read the parent process waits for the child process to continue execution after the file, realize the process of working together. Processes work together to coordinate the two processes is to make arrangements for implementation of the order and thus can be used to wait for the function to achieve this. When you need to wait for the child process end of the run, you can call the parent process to wait for the function.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
创建进程
........\child
........\.....\Debug
........\.....\.....\child.exe
........\.....\.....\child.ilk
........\.....\.....\child.obj
........\.....\.....\child.pch
........\.....\.....\child.pdb
........\.....\.....\vc60.idb
........\.....\.....\vc60.pdb
........\.....\child.cpp
........\.....\child.dsp
........\.....\child.dsw
........\.....\child.ncb
........\.....\child.opt
........\.....\child.plg
........\.....\data.txt
........\.....\~VC24.tmp
........\.....\~VC25.tmp
........\father
........\......\1.txt
........\......\Debug
........\......\.....\father.exe
........\......\.....\father.ilk
........\......\.....\father.obj
........\......\.....\father.pch
........\......\.....\father.pdb
........\......\.....\vc60.idb
........\......\.....\vc60.pdb
........\......\FATHER.plg
........\......\data.txt
........\......\father.cpp
........\......\father.dsp
........\......\father.dsw
........\......\father.ncb
........\......\father.opt