-
在Windows 2000/XP/2003环境下,创建一个包含N个线程的控制台进程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件(后面有介绍)的...
在Windows 2000/XP/2003环境下,创建一个包含N个线程的控制台进程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件(后面有介绍)的要求进行读写操作。用信号量机制分别实现读者优先和写者优先的读者一写者问题。-Windows 2000/XP/2003 environment, the creation of an N threads include the console process. Use of these n threads to express n readers who write. Each thread according to the corresponding test data files (with a) on the request and write. Using signal mechanism volume respectively priority and the readers who wrote a priority of readers wrote persons.
- 2022-01-25 16:06:10下载
- 积分: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
-
生产者和消费者:C 有相应的文字说明与注释
生产者和消费者:C 有相应的文字说明与注释-Producers and consumers: C there is a corresponding text description and Notes
- 2022-03-24 20:17:43下载
- 积分:1
-
Multi
多线程保护区的上锁与解锁,本地线程上锁保护的一个类.-Multi-threaded protected areas locked and unlocked, the local thread lock to protect a class.
- 2023-08-03 23:10:05下载
- 积分:1
-
操作系统中的先进先出,最佳淘汰等算法的比较。
操作系统中的先进先出,最佳淘汰等算法的比较。-the FIFO operating system, such as the best out of the comparison algorithm.
- 2023-02-22 23:00:04下载
- 积分:1
-
利用类CEvent实现多线程同步
利用类CEvent实现多线程同步-use category CEvent multi-thread synchronization
- 2022-02-09 19:20:30下载
- 积分: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
-
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
-
实践指南,STL
Practic Guides to STL
- 2022-08-14 21:10:38下载
- 积分:1
-
win 2000, XP and 2003 ctrl alt del shielding the source
win 2000、XP和2003下屏蔽ctrl+alt+del的源码-win 2000, XP and 2003 ctrl alt del shielding the source
- 2022-03-07 14:30:42下载
- 积分:1