搜索资源列表
生产者与消费者
- 程序用C++模拟了操作系统中的三种最典型的简单的静态进程调度算法;先由用户动态输入生成模拟进程,使用了26种可供用户选择的典型语句(包括循环、选择结构),可处理整型、布尔型与字符型三种数据与表达式计算;程序编制时主要采用的编程技术是:用语句链表记录进程语句,并用PCB链表,就绪队列链表,阻塞队列链表,执行队列链表,结束队列链表等数据表示进程处理过程中的相互关系,由于静态数据结构不适合处理数据量大小不定的数据,而动态队列结构适合于处理数据量大小可变数据的处理,因此在程序中采用动态链表对这些数据进行
3pcf
- windows下多线程计算3pcf问题的源码 直接编译运行即可 从文件中读取数据-Under the multi-threaded computing 3pcf windows source code directly compile and run the problem can be read from the file
calculatPI
- 运用多线程的方法计算pi的值。通过公式法和面积法实现。可以通过调整线程数和数据的运算规模来计算pi,计算不同线程之间的性能差异。-Calculated using multi-threaded the value of pi. Area through the formula and method implementation. You can adjust the number of threads and data operations to calculate the size of pi
primenumber
- 最大素数计算器,利用多线程同步实现计算所有不大于输入数据的所有素数并将其结果输出。线程数可调-The largest prime number calculator, using multi-thread synchronization to achieve the calculation of all the input data is not greater than all the prime numbers and the results output. Adjustable numbe
Threaded
- 多线程程序,未进行数据保护。程序打开一个text文件,线程按行从文件中读取数据同时计算每行 的字母数为奇数和偶数的单词的个数,然后关闭文件,输出最后的结果。 -Multithreaded programs, for data protection. Program opens a text file, thread by line read from the file while in each of the line An odd number of letters and even
CrossMatch-multthread
- 通过多线程实现两个天体之间的交叉证认。海量数据的多线程计算。-Recognized by the multi-threaded cross-certificates between two celestial bodies. Multi-threaded computing of massive data.
RRProcessControl
- 1) 每一个进程有一个PCB,其内容可以根据具体情况设定。 2) 可以在界面设定的互斥资源(包括两种:输入设备与输出设备)的数目 3) 进程数、进入内存时间、要求服务时间可以在界面上进行设定 4) 进程之间存在一定的同步与互斥关系,可以通过界面进行设定,其表示方法如下: 进程的服务时间由三段组成:I2C10O5(表示进程的服务时间由2个时间片的输入,10个时间片的计算,5个时间片的输出) 进程间的同步关系用一个段表示:W2,表示该进程先要等待P2进程执行结束后才可以运行
BANK
- 银行家算法是一种最有代表性的避免死锁的算法。在避免死锁方法中允许进程动态地申请资源,但系 银行家算法 银行家算法 统在进行资源分配之前,应先计算此次分配资源的安全性,若分配不会导致系统进入不安全状态,则分配,否则等待。为实现银行家算法,系统必须设置若干数据结构。-Banker algorithm
VLQC
- 本程序是计算一幅图像的直方图,并把计算出来的数据显示出来-This procedure is to calculate the histogram of an image, and the calculated data is displayed
nechnologyoccupy
- 一个用来计算数据数量的一个Filter, 可以在开发或测试设备时候使用, 很实用的一个工具()