-
一个监测多线程的程序。 已经通过测试
一个监测多线程的程序。 已经通过测试-monitoring a multi-threaded process. Have to pass the test
- 2022-03-12 08:34:14下载
- 积分:1
-
program (TerminateProcess $ APPTYPE CONSOLE) uses SysUtils, Windows var ProcessH...
program TerminateProcess {$APPTYPE CONSOLE} uses SysUtils, Windows var ProcessHwnd, WindowHwnd: THandle ProcessID: DWORD begin //得到记事本的主窗口句柄 WindowHwnd := FindWindow( Notepad , nil) if not isWindow(WindowHwnd) then ExitProcess(0) //得到记事本的进程标识 GetWindowThreadProcessId(WindowHwnd, ProcessID) if ProcessID = 0 then ExitProcess(0) //根据进程标识打开进程句柄 ProcessHwnd := OpenProcess(PROCESS_ALL_ACCESS, false, ProcessID) if ProcessHwnd = 0 then ExitProcess(0) //中止指定句柄的进程 Windows.TerminateProcess(ProcessHwnd, 0) end.-program (TerminateProcess $ APPTYPE CONSOLE) uses SysUtils, Windows var ProcessHwnd, WindowHwnd : THandle ProcessID : DWORD begin// notebook to be the main window handle WindowHwnd : = FindWindow (Notepad, nil) if not isWindow (WindowHwnd) then ExitProcess (0)// notebook to be in the process logo GetWindowThreadProcessId (WindowHwnd, ProcessID) if ProcessID = 0 then ExitProcess (0)// identification process under the process opened handle ProcessHwnd : = OpenProcess (PROCESS_ALL_ACCESS, fals
- 2022-02-10 00:03:03下载
- 积分:1
-
进程枚举、包括PID,路径,以及杀死指定进程。
进程枚举、包括PID,路径,以及杀死指定进程。 -process of enumeration, including PID, path, and kill the designation process.
- 2023-08-04 11:20:03下载
- 积分:1
-
Delphi编程
delphi编程-delphi programming
- 2022-03-18 04:46:24下载
- 积分:1
-
操作系统中银行家算法的演示程序,银行家算法是避免死锁的方法,避免死锁的法则是,系统在运行过程中,对于进程的每一种资源请求都要根据预掌握的资源使用信息,按照一定的...
操作系统中银行家算法的演示程序,银行家算法是避免死锁的方法,避免死锁的法则是,系统在运行过程中,对于进程的每一种资源请求都要根据预掌握的资源使用信息,按照一定的算法,进行是否可能导致死锁的预测,以决定是否同意这一资源请求。这是向前看几步,知道保证不会导致死锁时再向前走一步的具有动态性质的预测算法。-operating system bankers algorithm Demonstration Program, bankers algorithm is a method to avoid deadlock and avoid deadlock the law is, the system in the process, the process for each type of resource in accordance with the request of the resources available to advance the use of information, according to some algorithm, leading to the possibility of death lock projections to decide whether the resource requests. This is a forward-looking steps, guaranteed not know Deadlock lead again when forward step with the dynamic nature of the forecast algorithm.
- 2023-08-20 23:10:03下载
- 积分:1
-
Process scheduling, memory, process scheduling to understand the situation and k...
进程调度,了解内存中进程调度情况,知道进程在内存中运行情况-Process scheduling, memory, process scheduling to understand the situation and know the process running in memory of
- 2022-02-26 15:51:29下载
- 积分:1
-
beginer线程程序实例
Thread program example for beginer
- 2022-02-02 16:21:09下载
- 积分:1
-
This is a multi
这是个多线程编程的参考说明,可供初学者学习。-This is a multi-threaded programming advisory notes, for beginners to learn.
- 2022-06-16 06:03:59下载
- 积分:1
-
This procedure is based on the multi
本程序是基于多线程技术来绘制历史曲线,实现了历史曲线的实时动态显示-This procedure is based on the multi-threading technology to map the historical curve, realize the historical curve of real-time dynamic display
- 2023-05-18 06:45:03下载
- 积分:1
-
这个程序是用SDK写的,很有意义,只不过一般人看不懂,现在没几能用SDK了...
这个程序是用SDK写的,很有意义,只不过一般人看不懂,现在没几能用SDK了-the procedure is written with the SDK, interesting, but most people do not understand, right now the SDK can be used for
- 2022-03-09 21:39:09下载
- 积分:1