-
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
-
VC 中进行进程线程控制 有兴趣的同志可以看看哪
VC 中进行进程线程控制 有兴趣的同志可以看看哪-VC for process control threads are interested can find out where comrades!
- 2022-02-12 05:25:47下载
- 积分:1
-
search. The search software in the data is very useful software. The original C...
二份查找。本软件在数据查找中是非常实用的软件。原代码是C语言的运行环境-search. The search software in the data is very useful software. The original C language code is the runtime environment
- 2022-06-02 10:58:56下载
- 积分:1
-
指定PID来结束其进程
指定PID来结束其进程-designated PID to end the process
- 2022-02-21 03:25:30下载
- 积分:1
-
This release 0.7 (late beta) of LinuxThreads, a BiCapitalized implementation of...
This release 0.7 (late beta) of LinuxThreads, a BiCapitalized implementation of the Posix 1003.1c "pthread" interface for Linux. LinuxThreads provides kernel-level threads: each thread is a separate Unix process, sharing its address space with the other threads through the new system call clone(). Scheduling between threads is handled by the kernel scheduler, just like scheduling between Unix processes.
- 2022-12-05 05:20:03下载
- 积分:1
-
在VC6.0下利用消息实现内部进程通讯
在VC6.0下利用消息实现内部进程通讯--VC设计。-VC6.0 in using information to achieve internal communication process-- VC design.
- 2022-01-25 21:49:33下载
- 积分:1
-
一个封装了线程模型的类
一个封装了线程模型的类-a package of thread-like model
- 2022-08-19 16:59:04下载
- 积分:1
-
一个进程间的通信的好程序,好源码,值得一看,非常有帮助...
一个进程间的通信的好程序,好源码,值得一看,非常有帮助-A good inter-process communication procedures, a good source, worth a visit, very helpful
- 2022-10-19 12:00:02下载
- 积分:1
-
利用积分法进行多线程计算圆周率pai的编程,分别有二、三、四个线程...
利用积分法进行多线程计算圆周率pai的编程,分别有二、三、四个线程-The use of integral method for calculation of multi-threaded programming pai pi, respectively, have two, three, four threads
- 2023-02-25 16:05:04下载
- 积分:1
-
这是一个关于进程调度的算法,是操作系统 的精典算法 ,希望大家多指教,...
这是一个关于进程调度的算法,是操作系统 的精典算法 ,希望大家多指教,-This is a process of scheduling algorithm is the classic operating system algorithm, we hope that more exhibitions,
- 2022-03-07 09:57:50下载
- 积分:1