-
This is another one of the operating system or the process of scheduling algorit...
这是另外一个计关于操作系统 的进程调度的算法 ,也是用c来模拟的,希望大家多指教,-This is another one of the operating system or the process of scheduling algorithm is used to simulate c, we hope more exhibitions,
- 2022-04-17 17:02:40下载
- 积分:1
-
很多情况下我们需要多个线程互相协助,来完成同一个任务。但是线程很难从外部进行控制。利用线程同步技术可以使线程彼此交互,从而避免了外部控制对与时间和资源的浪费。
很多情况下我们需要多个线程互相协助,来完成同一个任务。但是线程很难从外部进行控制。利用线程同步技术可以使线程彼此交互,从而避免了外部控制对与时间和资源的浪费。-Many cases we need to assist each other to multiple threads in order to accomplish the same mission. But the thread is difficult to control from outside. The use of thread synchronization technology enables interaction between threads, thus avoiding external control with time and a waste of resources.
- 2023-09-06 07:35:03下载
- 积分:1
-
multiple thread演示,virtual系统的multiple thread,有助于教学用途
multiple thread演示,virtual系统的multiple thread,有助于教学用途-multiple thread demonstration of multiple virtual thread, and the teaching purposes
- 2022-08-22 08:34:26下载
- 积分:1
-
NT下未公开的多线程读,单线程写的函数, 了解它对多线程编程会起到非常大的作用....
NT下未公开的多线程读,单线程写的函数, 了解它对多线程编程会起到非常大的作用.-NT under undisclosed multi-thread reading, writing single-threaded function, to understand its multi-threaded programming will play a very large role.
- 2022-08-05 16:21:43下载
- 积分:1
-
这是个典型的生产者与消费者问题,用的是PV操作实现的程序!
这是个典型的生产者与消费者问题,用的是PV操作实现的程序!-This is a typical problem of producers and consumers, using a PV operating procedures to achieve!
- 2022-02-20 05:39:47下载
- 积分:1
-
关于线程的代码,很实用,希望大家多多支持,互相学习
关于线程的代码,很实用,希望大家多多支持,互相学习-Code on the thread, very useful, hope that we can support and learn from each other
- 2022-01-25 16:18:42下载
- 积分:1
-
is a multithreaded example, the main demonstration supporting idle threads and t...
是一个多线程的例子,演示主线程和空闲辅助线程的使用方法-is a multithreaded example, the main demonstration supporting idle threads and the use of threads
- 2023-05-12 18:30:04下载
- 积分:1
-
编写并调试一个模拟的进程调度程序,采用“最高优先数优先”调度算法对五个进程进行调度。
“最高优先数优先”调度算法的基本思想是把CPU分配给就绪队列中优...
编写并调试一个模拟的进程调度程序,采用“最高优先数优先”调度算法对五个进程进行调度。
“最高优先数优先”调度算法的基本思想是把CPU分配给就绪队列中优先数最高的进程。
静态优先数是在创建进程时确定的,并在整个进程运行期间不再改变。
动态优先数是指进程的优先数在创建进程时可以给定一个初始值,并且可以按一定原则修改优先数。例如
:在进程获得一次CPU后就将其优先数减少1。或者,进程等待的时间超过某一时限时增加其优先数的值,等等
-Write and debug a simulation of the process scheduler, using the "highest priority number priority" scheduling process scheduling algorithm to five.
The "highest priority number first" scheduling algorithm the basic idea is to CPU allocated to the highest-priority ready queue in the process.
Static priority number is determined when creating the process, and in the whole process will not change during the operation.
Dynamic priority number refers to the process of creating a process priority number can be given an initial value, and can modify the priority number according to certain principles. Example
: In the process, get a CPU after its reduction in the number one priority. Or, the process of waiting time exceeds a certain time limit, increase
- 2022-03-07 17:51:07下载
- 积分:1
-
实现一个多线程管理类,能够设定线程个数,自动分配任务,判定进程是否结束...
实现一个多线程管理类,能够设定线程个数,自动分配任务,判定进程是否结束-The realization of a multi-threaded management can set the number of threads, automatic distribution of tasks, to determine whether or not the end of the process
- 2022-01-30 21:54:23下载
- 积分:1
-
本原代码是基于C语言的原程序。是用于一般的数据库的连接
本原代码是基于C语言的原程序。是用于一般的数据库的连接-primitive code is based on the C language of the original procedure. For general is the database connection
- 2022-06-22 04:33:14下载
- 积分:1