-
程序用C++模拟了操作系统中的三种最典型的简单的静态进程调度算法;先由用户动态输入生成模拟进程,使用了26种可供用户选择的典型语句(包括循环、选择结构),可处理...
程序用C++模拟了操作系统中的三种最典型的简单的静态进程调度算法;先由用户动态输入生成模拟进程,使用了26种可供用户选择的典型语句(包括循环、选择结构),可处理整型、布尔型与字符型三种数据与表达式计算;程序编制时主要采用的编程技术是:用语句链表记录进程语句,并用PCB链表,就绪队列链表,阻塞队列链表,执行队列链表,结束队列链表等数据表示进程处理过程中的相互关系,由于静态数据结构不适合处理数据量大小不定的数据,而动态队列结构适合于处理数据量大小可变数据的处理,因此在程序中采用动态链表对这些数据进行处理;使用信号量、P.V.操作实现进程的同步与互斥,模拟进程在操作系统中的运行-procedures C to simulate the operating system, the three most typical process simple static scheduling algorithm; First generation user input dynamic modeling process, the use of the 26 options are available to users of typical statement (including the circle, choose structure), can handle integer, boolean and three character expression data and calculation; the main procedures for the preparation of the programming technology : Listless statement recorded statement process, and PCB Chain, ready Queue List, blocking Queue List, the Executive Queue List, ending Queue List data processing, said the process of mutual relations, due to static state data structure is not suitable for handling data on the s
- 2023-08-27 14:25:03下载
- 积分:1
-
This release 0.7 (late beta) of LinuxThreads, a BiCapitalized implementation of...
This release 0.7 (late beta) of LinuxThreads, a BiCapitalized implementation of the Posix 1003.1c "pthread" interface for Linux. LinuxThreads provides kernel-level threads: each thread is a separate Unix process, sharing its address space with the other threads through the new system call clone(). Scheduling between threads is handled by the kernel scheduler, just like scheduling between Unix processes.
- 2022-12-05 05:20:03下载
- 积分:1
-
small games, the server is a client of the game, only the landing will be able t...
小游戏,是服务器有客户端的游戏,只有能登陆就可以玩,还上对战,支持多个客户端-small games, the server is a client of the game, only the landing will be able to play, but also on the screen, multiple client
- 2023-07-19 00:35:03下载
- 积分:1
-
CloseSmoothly_demo through dialog callback achieve a smooth fade out effect fade...
CloseSmoothly_demo, 通过回调实现对话框的平滑淡入淡出效果-CloseSmoothly_demo through dialog callback achieve a smooth fade out effect fades
- 2022-02-26 21:28:28下载
- 积分:1
-
readers to write source code problem. I included in the Notes. Not joined the pr...
读者写者问题源码.包含我的注释.
没有加入工程文件.
只有一个R&W.cpp.在vc++6.0下编译成功.
在Windows 2000 环境下,创建一个包含n 个线程的控制台进程。用这n 个线程来表示n 个读者或写者。每个线程按相应测试数据文件的要求,进行读写操作。请用信号量机制实现读者-写者问题(读者优先)。
读者-写者问题的读写操作限制:
1)写-写互斥;
2)读-写互斥;
3)读-读允许;
读者优先的附加限制:如果一个读者申请进行读操作时已有另一读者正在进行读操作,则该读者可直接开始读操作。
运行结果显示要求:要求在每个线程创建、发出读写操作申请、开始读写操作和结束读写操作时分别显示一行提示信息,以确信所有处理都遵守相应的读写操作限制。
下面是一个测试数据文件的例子:
1 R 3 5 2 W 4 5 3 R 5 2 4 R 6 5 5W 5 3
-readers to write source code problem. I included in the Notes. Not joined the project documents. Only one R
- 2023-05-26 02:50:03下载
- 积分:1
-
一个查看系统进程的小程序,在Windows系统命令行中运行
一个查看系统进程的小程序,在Windows系统命令行中运行-View the system processes a small program in the Windows system, run the command line
- 2022-03-18 03:41:34下载
- 积分:1
-
得到当前进程的运行命令行信息
得到当前进程的运行命令行信息-Get the current process run the command-line information
- 2022-02-11 17:30:45下载
- 积分:1
-
章提供了访问NT中所有Service的功能,每次列举Services时,函数会返回一个列表...
章提供了访问NT中所有Service的功能,每次列举Services时,函数会返回一个列表-chapter of NT visit all the functions Service, each cited Services, the function will return a list
- 2022-07-13 10:56:23下载
- 积分:1
-
use of the system on which the thread is being executed
利用api获得系统中正在执行的线程-use of the system on which the thread is being executed
- 2022-08-12 08:03:09下载
- 积分:1
-
一个二分查找的程序,是用mfc 编程的,可以供大家学习哦
一个二分查找的程序,是用mfc 编程的,可以供大家学习哦-a two searching procedures, the use mfc programming, everyone can learn oh
- 2022-03-15 01:15:13下载
- 积分:1