Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop Process-Thread
Title: 2 Download
 Description: Design and implementation of Unix " time" command. " Mytime" command accepts command line parameters to run the program, create a separate process to run the program, and record the running time. In the Windows implementation: • Use the CreateProcess () to create a process • Use WaitForSingleObject () between " mytime" command and the newly created process synchronization • Call GetSystemTime () to get the time realized under Linux: • Use fork ()/End execv () to create a process to run the program • Use wait () to wait for the newly created process • call gettimeofday () to get the time mytime usage: $ mytime.exe program1
 Downloaders recently: [More information of uploader 王光杰]
 To Search:
File list (Check if you may need any files):
 

2
.\t1
.\..\Debug
.\..\.....\t1.exe
.\..\.....\t1.ilk
.\..\.....\t1.pdb
.\..\.....\test1.exe
.\..\t1
.\..\t1.sdf
.\..\t1.sln
.\..\t1.v14.suo
.\..\..\Debug
.\..\..\.....\Mytime.obj
.\..\..\.....\t1.log
.\..\..\.....\t1.tlog
.\..\..\.....\.......\CL.read.1.tlog
.\..\..\.....\.......\CL.write.1.tlog
.\..\..\.....\.......\link.read.1.tlog
.\..\..\.....\.......\link.write.1.tlog
.\..\..\.....\.......\t1.lastbuildstate
.\..\..\.....\vc140.idb
.\..\..\.....\vc140.pdb
.\..\..\Mytime.cpp
.\..\..\t1.vcxproj
.\..\..\t1.vcxproj.filters
.\test1
.\.....\Debug
.\.....\.....\test1.exe
.\.....\.....\test1.ilk
.\.....\.....\test1.pdb
.\.....\test1
.\.....\test1.sdf
.\.....\test1.sln
.\.....\test1.v14.suo
.\.....\.....\Debug
.\.....\.....\.....\test.obj
.\.....\.....\.....\test1.log
.\.....\.....\.....\test1.tlog
.\.....\.....\.....\..........\CL.read.1.tlog
.\.....\.....\.....\..........\CL.write.1.tlog
.\.....\.....\.....\..........\link.read.1.tlog
.\.....\.....\.....\..........\link.write.1.tlog
.\.....\.....\.....\..........\test1.lastbuildstate
.\.....\.....\.....\vc140.idb
.\.....\.....\.....\vc140.pdb
.\.....\.....\test.cpp
.\.....\.....\test1.vcxproj
.\.....\.....\test1.vcxproj.filters
    

CodeBus www.codebus.net