-
linjiequ
用软件方法解决上述临界区问题—兄弟。即要求修改sm6,实现accnt1+accnt2 提交的程序名:ex2
采用的算法可选择:
–Peterson算法:(Solving these critical problems by using software method . That requires modifications to the sm6 implementation of accnt1+accnt2, the program name- submit: ex2
The algorithm can choose:
Peterson algorithm:)
- 2020-11-01 19:49:55下载
- 积分:1
-
processDispatch
进程调度模拟程序:假设有10个进程需要在CPU上执行,分别用:
1.先进先出调度算法;
2.基于优先数的调度算法;
3.最短执行时间调度算法
确定这10个进程在CPU上的执行过程。要求每次进程调度时在屏幕上显示:
1.当前执行进程;
2.就绪队列;
3.等待队列
附:此程序可直接运行,是操作系统课的经典实验.
(scheduling process simulation program : Suppose a 10 CPU in the process of implementation, respectively :)
- 2021-05-07 04:28:36下载
- 积分:1
-
SOCKET-TCP
SOCKET多线程,使用TCP连接,当有一个连接请求时候,建立一个线程。共有两个文件,一个Server,还有一个是Client(SOCKET multithreading, the use of TCP connections, when a link request, the establishment of a thread. A total of two documents, one Server, there is a Client)
- 2020-11-14 15:19:41下载
- 积分:1
-
TEST3
线程的同步控制.可以看出线程的同步和互斥!里面的代码以及函数都很简单(Thread synchronization control)
- 2013-10-30 19:41:13下载
- 积分:1
-
MyThreadPool
一个线程池源码,AFX_THREADPOOLDLG_H__ABDABFCD_FD51_4556_8864_189C17F05527__INCLUDED(a thread pool source, AFX_THREADPOOLDLG_H__ABDABFCD_FD51_4556_8864_189C17F05527__INCLUDED)
- 2005-08-15 15:26:53下载
- 积分:1
-
864599
扩展后的中点法画直线程序,可以支持任意斜率的直线的绘制,()
- 2018-06-14 20:42:13下载
- 积分:1
-
awplication-terminal
这是成都的一个简单的公交查询系统,不错好东西(This is a simple public transport query system in Chengdu, good things)
- 2018-12-05 20:15:43下载
- 积分:1
-
1
说明: Test of something to upload
- 2015-04-02 19:27:16下载
- 积分:1
-
banker
银行家算法是避免死结(Deadlock)的一个著名的算法,是由艾兹格·迪杰斯特拉在1965年为T.H.E系统设计的一种避免死结产生的算法。它以银行借贷系统的分配策略为基础,判断并保证系统的安全运行。(Banker' s algorithm is to avoid deadlock (Deadlock), a well-known algorithm, by艾兹格迪杰Stella in 1965 for the THE system design to avoid the deadlock created a kind of algorithms. It is the bank lending system, allocation strategy based on judgments and to ensure the safe operation of the system.)
- 2009-11-16 10:40:32下载
- 积分:1
-
Threagkktrdest
一个介绍如何在Visual C中调用多线程代码,本例中也同时实现了常用的排序算法。完整源代码,已通过测试。(How a call in Visual C multi-threaded code, in this case also commonly used to achieve a sort algorithm. Full source code, has been tested.)
- 2011-10-02 18:15:51下载
- 积分:1