资源列表
gege
- 进程调度算法:采用最高优先数优先的调度算法(即把处理机分配给优先数最高的进程)和先来先服务算法。 每个进程有一个进程控制块( PCB)表示。进程控制块可以包含如下信息:进程名、优先数、到达时间、需要运行时间、已用CPU时间、进程状态等等。 进程优先数及需要的运行时间可以事先人为地指定(也可以由随机数产生)。进程的到达时间为进程输入的时间。进程的运行时间以时间片为单位进行计算。
实验三 最高优先级调度代码
- 模拟创建进程(建立一个记录型数据结构PCB):给出进程标识、状态、到达时间、运行时间等用先来先服务调度算法进行模拟实现-simulation creation process (to establish a record type data structure PCB) : the process of identification is given, state, arrival time, the time spent running a first-come first-service s
buffering
- 利用缓冲池和多线程技术,实现生产者和消费者同步的问题。只有缓冲池中有空闲的时候才可以生产产品;只有缓冲池有产品的时候才可以消费。-Pool and multi-threading technology to realize the synchronization problem of the producers and consumers. Buffer pool idle time can produce products pool products when it can be consu
jincheng
- 操作系统的实验,进程管理,实现进程的调度 执行,就绪,阻塞
CommonQueue
- 一个用pthread和双向链表实现的队列模板-A two-way linked list with pthread and realize the queue template
AutoLock
- 加锁的队列,用于多线程操作.防止访问冲突,进行线程同步,-using for threak
2aaa
- 多线程下载,支持Http和Ftp协议。界面友好、有第三方皮肤包支持-Multi-threaded download, Http and Ftp support agreement. User-friendly, there are third-party skin package to support the
fenqu
- 分区式存储管理算法主要有:首次适应算法,最佳适应算法,最坏适应算法。-Partition storage management algorithm: first-fit algorithm, best-fit algorithm, the worst-fit algorithm.
prj_win32_dll
- MdcTimer为在C/C++中创建一个新的线程,在线程中开启定时器实现操作的功能-MdcTimer to create a new thread in C/C++, open timer can realize the function of operation in the thread
wgq2
- 进程调度 进程调度算法有FIFO,优先数调度算法,时间片轮转调度算法,分级调度算法,目前主要是考FIFO和优先数调度算法(静态优先级)。 -process scheduling process FIFO scheduling algorithm is priority number scheduling algorithm, time-Cycle Scheduling algorithm, grade scheduling algorithm, the key is to test
Lock
- 简单实用的 多读单写 类。 通过对计数器 对多线程调用达到多读单写的目的-Simple and practical to read a single writing class. Through the counter for multi-threaded calls to read more single purpose of writing
server
- 写一个服务器,要求根据用户 输入文件路径(要求用户可以输入一个文件,或文件夹路径,注意要是文件夹,可能文件夹中还嵌套这文件夹)中找出文件里面里面存放的用户指定信息(比如邮箱) ,并把找出的信息(比如邮箱)保存到一个用户指定的文本文件中。-Write a server requires users to enter a file path (the user can enter a file or folder path Note that if the folder may also be n