-
这是一个关于进程调度的算法,是操作系统 的精典算法 ,希望大家多指教,...
这是一个关于进程调度的算法,是操作系统 的精典算法 ,希望大家多指教,-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
-
用TC编写的一段电梯模拟程序,界面也是TC编写的,简洁美观。主要是用作c语言的线程编程练习。...
用TC编写的一段电梯模拟程序,界面也是TC编写的,简洁美观。主要是用作c语言的线程编程练习。-TC prepared with a lift of the simulation program, the interface is prepared by the TC, simple beauty. C is mainly used for threaded programming language exercises.
- 2022-02-16 10:23:21下载
- 积分:1
-
看一下UNIX系统中的进程和Mach的任务和线程之间的关系。在UNIX系统中,一个进程包括一个可执行的程序和一系列的资源,例如文件描述符表和地址空间。在Mach...
看一下UNIX系统中的进程和Mach的任务和线程之间的关系。在UNIX系统中,一个进程包括一个可执行的程序和一系列的资源,例如文件描述符表和地址空间。在Mach中,一个任务仅包括一系列的资源;线程处理所有的可执行代码。一个Mach的任务可以有任意数目的线程和它相关,同时每个线程必须和某个任务相关。和某一个给定的任务相关的所有线程都共享任务的资源。这样,一个线程就是一个程序计数器、一个堆栈和一系列的寄存器。所有需要使用的数据结构都属于任务。一个UNIX系统中的进程在Mach中对应于一个任务和一个单独的线程。
-look at the UNIX System and the process of Mach"s mandate and the relationship between the threads. In UNIX systems, a process includes an executable program and a range of resources, such as file descriptors table and address space. In Mach, a task only a series of resources; Threads handle all the executable code. A Mach task can have any number of threads and its associated, and each one must thread related tasks. And to a certain set of tasks related to the threads are sharing all the resources. Thus, a thread is a program counter, a stack, and a series of registers. All need to use the data structures are covered by the mandate. A UNIX system in the process of Mach which corresponds to a mandate and a separate thread.
- 2022-12-05 01:30:03下载
- 积分:1
-
多线程文件下载客户端
多线程文件下载客户端-multi-threaded client files
- 2023-02-03 06:20: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
-
C语言模拟进程调度程序,注释很全,向大家推荐,都来下载阿...
C语言模拟进程调度程序,注释很全,向大家推荐,都来下载阿-C language modeling process scheduler, notes very long, we recommend to you, to download A!
- 2022-03-03 22:49:07下载
- 积分:1
-
delphi屏蔽win键和任务管理器。初学Delphi,练习一下。用的是Dll和修改windows的键值...
delphi屏蔽win键和任务管理器。初学Delphi,练习一下。用的是Dll和修改windows的键值-delphi shielding win keys, and task management device. Beginners Delphi, practice. Dll use the windows and change the keys
- 2023-02-09 19:30:04下载
- 积分:1
-
SDK用的线程类和一些线程用的同步类
SDK用的线程类和一些线程用的同步类-SDK using threads and some types of thread synchronization category
- 2023-03-22 20:45:03下载
- 积分:1
-
Delphi编程
delphi编程-delphi programming
- 2022-03-18 04:46:24下载
- 积分:1
-
定时器使用的注意事项,定时器处理函数的运行时间大于定时时长会造成不响应,KillTimer()可以杀掉消息队列中的多个相同标号的消息。...
定时器使用的注意事项,定时器处理函数的运行时间大于定时时长会造成不响应,KillTimer()可以杀掉消息队列中的多个相同标号的消息。-timer matters to the attention of use, timer handling functions of the running time than regular long time will not respond KillTimer () Message Queue can kill the same number of label information.
- 2022-03-21 08:21:27下载
- 积分:1