-
简单代码讲解同步机制CMutex,这个代码是别人写的,还不错,值得一看...
简单代码讲解同步机制CMutex,这个代码是别人写的,还不错,值得一看-A simple code on the synchronization mechanism CMutex
- 2022-04-17 06:23:41下载
- 积分:1
-
操作系统中银行家算法的演示程序,银行家算法是避免死锁的方法,避免死锁的法则是,系统在运行过程中,对于进程的每一种资源请求都要根据预掌握的资源使用信息,按照一定的...
操作系统中银行家算法的演示程序,银行家算法是避免死锁的方法,避免死锁的法则是,系统在运行过程中,对于进程的每一种资源请求都要根据预掌握的资源使用信息,按照一定的算法,进行是否可能导致死锁的预测,以决定是否同意这一资源请求。这是向前看几步,知道保证不会导致死锁时再向前走一步的具有动态性质的预测算法。-operating system bankers algorithm Demonstration Program, bankers algorithm is a method to avoid deadlock and avoid deadlock the law is, the system in the process, the process for each type of resource in accordance with the request of the resources available to advance the use of information, according to some algorithm, leading to the possibility of death lock projections to decide whether the resource requests. This is a forward-looking steps, guaranteed not know Deadlock lead again when forward step with the dynamic nature of the forecast algorithm.
- 2023-08-20 23:10:03下载
- 积分:1
-
网络聊天工具,多线程,按钮的润色,背景色的设定
网络聊天工具,多线程,按钮的润色,背景色的设定-Chat internet
- 2022-09-04 04:45:03下载
- 积分:1
-
This procedure is based on the multi
本程序是基于多线程技术来绘制历史曲线,实现了历史曲线的实时动态显示-This procedure is based on the multi-threading technology to map the historical curve, realize the historical curve of real-time dynamic display
- 2023-05-18 06:45:03下载
- 积分:1
-
一个基于父进程和子进程之间用匿名管道进行进程通讯的实例,附带了可执行文件以及全部源码。非常好的了解匿名管道机制的程序。...
一个基于父进程和子进程之间用匿名管道进行进程通讯的实例,附带了可执行文件以及全部源码。非常好的了解匿名管道机制的程序。-One based on the parent process and child processes to process communication with the anonymous pipe instance comes with an executable file and all source code. A very good understanding of the anonymous pipe mechanism.
- 2022-03-03 18:50:32下载
- 积分:1
-
本例的进程处理器程序实现了进程的列举、进程的切换、启动新的进程、杀死进程、命令行处理等功能。...
本例的进程处理器程序实现了进程的列举、进程的切换、启动新的进程、杀死进程、命令行处理等功能。-cases the processors in the process realized by the enumeration process, the process of switching and started a new process, killing process, the command line processing capabilities.
- 2023-03-27 00:55: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
-
一个使用匿名管道实现进程间通讯的程序
一个使用匿名管道实现进程间通讯的程序- A use anonymous pipeline realizes the advancement the
communication procedure
- 2023-04-25 20:50:03下载
- 积分:1
-
成功 关于线程和进程的程序
成功 关于线程和进程的程序-success on the threads of procedures and processes
- 2022-02-20 06:09:01下载
- 积分:1
-
进程调度算法
进程调度算法--动态优先权抢占式和时间片轮转算法的调度。-process scheduling algorithm-- Dynamic Preemptive priority and time-scheduling algorithm postings.
- 2022-02-16 09:49:48下载
- 积分:1