-
在VC6.0下利用消息实现内部进程通讯
在VC6.0下利用消息实现内部进程通讯--VC设计。-VC6.0 in using information to achieve internal communication process-- VC design.
- 2022-01-25 21:49:33下载
- 积分: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
-
vb实现进程模拟事件
vb实现进程模拟事件-vb realization process simulation events
- 2023-04-12 12:00:03下载
- 积分:1
-
先来先服务(FCFS)算法、短作业优先(SJF)算法、高响应比(HRN)算法和高优先权优先算法是作业调度中经常采用的,通过上述算法的模拟加深对作业控制快JCB的...
先来先服务(FCFS)算法、短作业优先(SJF)算法、高响应比(HRN)算法和高优先权优先算法是作业调度中经常采用的,通过上述算法的模拟加深对作业控制快JCB的理解和作业调度过程的实现技巧-job jobjob jobjob jobjob jobjob jobjob jobjob jobjob jobjob job
- 2022-08-14 08:21:04下载
- 积分: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
-
电子时钟C++语言开发,可作为样例进一步改进。
电子时钟C++语言开发,可作为样例进一步改进。-Electronic Clock C++ language development, can be used as sample for further improvement.
- 2022-07-14 06:13:29下载
- 积分:1
-
C语言模拟进程调度程序,注释很全,向大家推荐,都来下载阿...
C语言模拟进程调度程序,注释很全,向大家推荐,都来下载阿-C language modeling process scheduler, notes very long, we recommend to you, to download A!
- 2022-03-03 22:49:07下载
- 积分:1
-
很好的,我朋友花钱买的,希望对java初学者有所帮组
很好的,我朋友花钱买的,希望对java初学者有所帮组-good, I spend money to buy friends, and I hope to have java help beginners group
- 2022-07-24 16:09:37下载
- 积分:1
-
利用多线程计算平方和 sum=1^2+2^2+3^2.....+n^2
利用多线程计算平方和 sum=1^2+2^2+3^2.....+n^2-The use of multi-threaded calculation of square and the sum = 1 ^ 2+ 2 ^ 2+ 3 ^ 2 .....+ N ^ 2
- 2022-08-21 11:15:33下载
- 积分:1
-
一般而言,应用程序中的一个次要线程总是为主线程执行特定的任务,这样,主线程和次要线程间必定有一个信息传递的渠道,也就是主线程和次要线程间要进行通信。这种线程间...
一般而言,应用程序中的一个次要线程总是为主线程执行特定的任务,这样,主线程和次要线程间必定有一个信息传递的渠道,也就是主线程和次要线程间要进行通信。这种线程间的通信不但是难以避免的,而且在多线程编程中也是复杂和频繁的,下面将进行说明。-Generally speaking, the application of a secondary thread is always the main thread to perform a specific task, so that main thread and secondary threads must have a channel for the transmission of information, which is the main thread and the secondary thread to communicate between. This inter-thread communication is not only inevitable, but also in multi-threaded programming is complex and frequent, the following description will be carried out.
- 2022-03-06 14:41:20下载
- 积分:1