-
这是一道经典的线程同步问题――哲学家吃饭问题。这里结合了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
-
program VirtualMemory {$APPTYPE CONSOLE} uses SysUtils, Windows const PageSize =...
program VirtualMemory {$APPTYPE CONSOLE} uses SysUtils, Windows const PageSize = 4096 //定义页面大小 var VmAddress, CommitAddress: Pointer //存放虚拟内存基址 Text: Pchar begin //保留二页虚拟内存 VmAddress := VirtualAlloc(nil, PageSize * 2, MEM_RESERVE, PAGE_READWRITE) if not Assigned(VmAddress) then begin WriteLn( 保留虚拟内存失败! ) ExitProcess(0) end else WriteLn(Format( 保留虚拟内存成功, 基址为:[%8.8x]! , [Longint(VmAddress)])) //提交第二页虚拟内存 CommitAddress := Pointer(Longint(VmAddress) + PageSize) CommitAddress := VirtualAlloc(CommitAddress, PageSize, MEM_COMMIT, PAGE_READWRITE) if not Assigne-program VirtualMemory ($ APPTYPE CONSOLE) uses SysUtils, Windows const PageSize = 4096// definition pages size var VmAddress, CommitAddress : Pointer// virtual memory-based storage site Text : Pchar begin// reservations two virtual memory VmAddress : = VirtualAlloc (nil. PageSize* 2, MEM_RESERVE, PAGE_READWRITE) if not Assigned (VmAddress) then begin WriteLn (reservations virtual memory failure!) ExitProcess (0) end else WriteLn (Format
- 2022-10-06 15:35:03下载
- 积分:1
-
这是我写的Win32 console Application程序来测试_beginthread函数创建多线程程序的用法以及参数传递的程序。
这是我写的Win32 console Application程序来测试_beginthread函数创建多线程程序的用法以及参数传递的程序。- This is Win32 console which I writes the Application procedure
tests the _beginthread function foundation multithreading procedure
the usage as well as the parameter transmission procedure.
- 2022-04-10 06:09:13下载
- 积分:1
-
a simple and easy to use and useful Visual C multithreading example,
一个简单易套用且实用的Visual C++多线程例子,-a simple and easy to use and useful Visual C multithreading example,
- 2022-02-06 20:18:47下载
- 积分:1
-
在一个程序中,进行中开多个线程,实现多线程编程
在一个程序中,进行中开多个线程,实现多线程编程-In a process, carried out a number of threads in the open, multi-threaded programming
- 2023-05-31 01:05:04下载
- 积分:1
-
主要讲的是售票功能,在不同站点售同一组票,而不会发生错误。...
主要讲的是售票功能,在不同站点售同一组票,而不会发生错误。-Major topics of the ticketing functions in different sites selling the same set of votes without error.
- 2022-03-07 14:47:57下载
- 积分:1
-
本实例实现了应用程序的多线程功能,即上下两幅动画分别表示同时运行的线程,是学习多线程编程的好材料...
本实例实现了应用程序的多线程功能,即上下两幅动画分别表示同时运行的线程,是学习多线程编程的好材料-examples of the realization of the application multithreading function, which is next two animation indicated the running threads of study is multi-threaded programming excellent materials
- 2022-03-23 03:44:43下载
- 积分: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
-
windows任务管理器都无法结束其进程,看下这是如何做到的
windows任务管理器都无法结束其进程,看下这是如何做到的-windows task manager will not be able to end the process, facie this is the way to do
- 2022-03-23 16:08:00下载
- 积分:1
-
本节允许您浏览未经压缩文件中包含的文件…
This section allows you to browse the files contained within a ZIP file without having to download it first. The file list below shows all of the files those that are in a text format that we recognize the extension for (e.g. source code files) are linked to a page where you can view the contents of the file. -This section allows you to browse the files contained within a ZIP file without having to do wnload it first. The file list below shows all of the files those that are in a text format that we r ecognize the extension for (e.g. source code fi les) are linked to a page where you can view the co ntents of the file.
- 2022-01-25 14:39:34下载
- 积分:1