-
一般的都是打印直角三角形式的杨辉三角,本人作了点修改,输出等边三角(非直角)形式的杨辉三角,...
一般的都是打印直角三角形式的杨辉三角,本人作了点修改,输出等边三角(非直角)形式的杨辉三角, -general are right triangle-print Pascal"s Triangle, I made a point changes, the output equilateral triangle (non-Cartesian) form of Pascal"s Triangle.
- 2022-01-25 18:29:56下载
- 积分:1
-
使用命名管道进行进程间通信,可以跨越机器边界
使用命名管道进行进程间通信,可以跨越机器边界
- 2022-04-20 03:32:11下载
- 积分: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
-
使用ntdll.dll中未公布的函数实现的资源读写加锁的例子
使用ntdll.dll中未公布的函数实现的资源读写加锁的例子-An example of realising resource lock of reading and writing by using unpublished function in ntdll.d
- 2022-07-19 02:20:03下载
- 积分:1
-
For multi
进行多线程编程的好例子,这是多线程的简单例子。-For multi-threaded programming a good example of this is a simple example of multi-threading.
- 2022-03-19 09:39:42下载
- 积分:1
-
进程控制的意义在于可以创建一个进程,并可以通过进程句柄结束进程。...
进程控制的意义在于可以创建一个进程,并可以通过进程句柄结束进程。-control of the process is to create a process and the process can handle the end of the process.
- 2022-02-13 01:30:08下载
- 积分: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
-
利用匿名管道实现cmd程序的输入定向,输入部分没有实现,有愿意者请把您的想法发给我。dcok@sina.com...
利用匿名管道实现cmd程序的输入定向,输入部分没有实现,有愿意者请把您的想法发给我。dcok@sina.com-use of anonymous pipeline achieve cmd directional input procedures, the importation of parts, and it is willing to please send your thoughts to me. Dcok@sina.com
- 2022-02-20 03:23:51下载
- 积分:1
-
常用的线程编程源代码
常用的线程编程源代码-common thread programming source code
- 2022-07-20 21:08:25下载
- 积分:1
-
Demonstration of a simple procedure on how to write a simple pipe
一个简单的演示程序,关于如何写一个简单的pipe -Demonstration of a simple procedure on how to write a simple pipe
- 2022-03-13 06:34:54下载
- 积分:1