-
c++或C下如何使用多线程
c++或C下如何使用多线程-how to use multithreading
- 2022-01-31 14:00:58下载
- 积分:1
-
本程序实现ProcControl类,提供了enumerate各进程的功能(进程信息包括:进程ID,进程名称,用户名,内存使用情况,CPU情况等)
还提...
本程序实现ProcControl类,提供了enumerate各进程的功能(进程信息包括:进程ID,进程名称,用户名,内存使用情况,CPU情况等)
还提供启动进程,按进程名杀死进程,按进程ID杀死进程的功能。-ProcControl the program category, providing enumerate the functions of the process (process information, including : process ID, process name, user name, memory usage, CPU, etc.), also provided to initiate the process by killing the process from the process, the process by killing the process ID function.
- 2022-03-06 19:14:51下载
- 积分:1
-
本源码实现了一个"任务管理器",可以对进程进行各种操作.使用了与进程有关的API和进程操作事例....
本源码实现了一个"任务管理器",可以对进程进行各种操作.使用了与进程有关的API和进程操作事例.-The source to achieve a
- 2023-08-24 03:25:03下载
- 积分:1
-
在windows 98/2000下,创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信...
在windows 98/2000下,创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制实现读者优先的读者――写入者问题-the windows 98/2000, the process of creating a console, this process contain n threads. Use of these n threads to express n readers who write. Each thread according to the corresponding test data document requests and write. Using signal volume mechanisms readers priority readers-- into the problem
- 2022-02-06 10:06:25下载
- 积分:1
-
对新系统自动更新,用户一打开机器就可以直接更新数据
对新系统自动更新,用户一打开机器就可以直接更新数据 -the new system to automatically update, a user can open the machine directly update data
- 2023-05-13 10:35:03下载
- 积分:1
-
readers of this program
本程序实现读者-写者问题.采用WINDOWS API实现.有比较详细的程序说明-readers of this program- writing problem. Using Windows API. A more detailed description of the procedures
- 2022-10-13 07:10:03下载
- 积分:1
-
关于线程的代码,很实用,希望大家多多支持,互相学习
关于线程的代码,很实用,希望大家多多支持,互相学习-Code on the thread, very useful, hope that we can support and learn from each other
- 2022-01-25 16:18:42下载
- 积分: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
-
这是一道经典的线程同步问题――哲学家吃饭问题。这里结合了win32使得这个问题可视化了...
这是一道经典的线程同步问题――哲学家吃饭问题。这里结合了win32使得这个问题可视化了-This is a classic thread synchronization-- philosopher food problem. Win32 here combination of this makes the issue of visualization
- 2023-01-27 14:00:03下载
- 积分:1
-
鼠标输入编程演示程序
鼠标输入编程演示程序-mouse input programming Demonstration Program
- 2022-02-13 14:15:47下载
- 积分:1