-
利用线程在程序繁忙时显示进度条实例,VC初学者从中可学到多线程的处理方法,有经验的开发者也可将其用到自己的程序中。...
利用线程在程序繁忙时显示进度条实例,VC初学者从中可学到多线程的处理方法,有经验的开发者也可将其用到自己的程序中。-Procedures for the use of threads in the busy show examples of the progress bar, VC beginners can learn from multi-threaded approach, experienced developers can also be used in their program.
- 2022-07-17 08:35:02下载
- 积分: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
-
在多个线程之间安全地共享有限的资源
在多个线程之间安全地共享有限的资源-threads between the various security sharing limited resources
- 2022-07-03 11:36:30下载
- 积分:1
-
一个多线程的例子,很简单
一个多线程的实例,很简单 -a multithreaded example, a very simple
- 2022-10-14 16:20:03下载
- 积分:1
-
共享内存多进程通讯例子
共享内存多进程通讯例子-the demo of shared memory multi-process communication
- 2022-02-04 23:47:25下载
- 积分:1
-
threaded, realize the video capture and encoding process! Blackfin532 platform!
使用多线程,实现视频的捕获和编码过程!Blackfin532平台!
- 2022-08-18 15:23:43下载
- 积分:1
-
用wondows多线程编程实现小球的分别控制,可以让任何一个小球停止和前进...
用wondows多线程编程实现小球的分别控制,可以让任何一个小球停止和前进-with wondows multithreaded programming of the respective ball control, allows anyone to stop a small ball and advance
- 2022-01-23 10:19:16下载
- 积分:1
-
关于命名管道或命名管线这种简单的进程之间的通讯机制。
关于命名管道或命名管线这种简单的进程之间的通讯机制。-On the named pipe or named pipe that simple communication mechanism between processes.
- 2023-05-18 19:05:04下载
- 积分:1
-
线程类,适合C++编程,能够直接引起进行线程的创建等使用,非常清楚,很好用。...
线程类,适合C++编程,能够直接引起进行线程的创建等使用,非常清楚,很好用。-Thread class, suitable for C++ programming, can directly lead to thread creation, use, very clear, very good use.
- 2022-03-24 02:41:30下载
- 积分:1
-
编写代码最难得就是进程间的通讯问题,采用剪贴板的方式,利用Windows共享内存所开辟的统一的内存区进行编程。可以有效解决进程间信息传输问题。...
编写代码最难得就是进程间的通讯问题,采用剪贴板的方式,利用Windows共享内存所开辟的统一的内存区进行编程。可以有效解决进程间信息传输问题。-The most rare to write code that is inter-process communication problems, using the clipboard, using Windows shared memory opened up a unified program memory area. Can effectively resolve the issue of inter-process information transfer.
- 2022-05-25 01:32:54下载
- 积分:1