搜索资源列表
Job
- 操作系统课程设计:单道系统三种作业调度算法模拟 ○1、在数据结构上选择单向链队,即后备作业队列的每个结点表示一个作业块,每个作业块即JCB包含如下信息:作业名,到达时间,所需时间,已运行时间,作业状态,所需主存大小,所需磁带机数目。 ○2、提交新作业时,调用函数EnQueue(m_JobName,m_NeedTime)即将作业插入到后备作业队列的末尾。接着判断内存作业队列是否为空,若为空则将后备作业调入内存运行并启动计时器SetTimer(1,1000,NULL),更新列表框控件的信息的
homework5
- 编写一个单队列线程池应用,在应用中存在两种线程:一个用户线程,用于向线程池发送加法计算请求;若干计算线程,接收来自线程池的加法请求,计算后将结果返回给用户线程。其中用户线程拥有自己的消息队列,若干计算线程共享一个消息队列。测试时需要向线程池提交>=1000个加法请求,用户线程需要验证是否收到结果。-The preparation of the application of a single queue thread pool, there are two threads in the ap
writeQueue2013-1-5
- 这是一个写队列,初始化时申请大量的list,并采用定时或者单个list满则立即执行队列中的操作,采用内部多线程封装,外部只有部分接口直接使用-This is a write queue, to apply for a large number of list initialization and timing or a single list is full of immediate execution queue operation using internal multithreading
MM1
- mm1单队列模拟,可以进行队列平均长度,队列分布,队列等待时间,-mm1 single queue simulation, the average queue length, distributed queue, the queue waiting time, etc.
queue
- This file implements a single-producer single-consumer queue, using a mutex and a condition variable.