文件名称:Process_control
-
所属分类:
- 标签属性:
- 上传时间:2013-06-23
-
文件大小:232.89kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
设计并实现Unix的“time”命令。“mytime”命令通过命令行参数接受要运行的程序,创建一个独立的进程来运行该程序,并记录程序运行的时间。
在Windows下实现:
• 使用CreateProcess()来创建进程
• 使用WaitForSingleObject()在“mytime”命令和新创建的进程之间同步
• 调用GetSystemTime()来获取时间
-Design and implementation of the Unix " time" command. " Mytime" command via the command line parameter accepts the program to run, create a separate process to run the program, and recording program to run. Under Windows: • Using CreateProcess () to create a process • Use WaitForSingleObject () in " mytime" command and the newly created synchronization between processes • Call GetSystemTime () to get the time
在Windows下实现:
• 使用CreateProcess()来创建进程
• 使用WaitForSingleObject()在“mytime”命令和新创建的进程之间同步
• 调用GetSystemTime()来获取时间
-Design and implementation of the Unix " time" command. " Mytime" command via the command line parameter accepts the program to run, create a separate process to run the program, and recording program to run. Under Windows: • Using CreateProcess () to create a process • Use WaitForSingleObject () in " mytime" command and the newly created synchronization between processes • Call GetSystemTime () to get the time
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Process_control/windows/hello.cpp
Process_control/windows/mytime.cpp
Process_control/进程控制.docx
Process_control/windows
Process_control
Process_control/windows/mytime.cpp
Process_control/进程控制.docx
Process_control/windows
Process_control
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.