-
通过研究Linux的线程机制和信号量实现读者写者(Reader
通过研究Linux的线程机制和信号量实现读者写者(Reader-Writer)问题并发控制。
1)写-写互斥:不能有两个写者同时进行写操作;
2)读-写互斥:不能同时有一个线程在读,而另一个线程在写;
3)读-读允许:可以有一个或多个读者在读;
4)读者优先的附加限制:如果读者申请进行读操作时已有另一个读者正在进行读操作,则该读者可直接开始读操作;
5)写者优先的附加限制:如果一个读者申请进行读操作时已有另一个写者在等待访问共享资源,则该读者必须等到没有写者处于等待状态后才能开始读操作。
-By studying the Linux thread mechanism and semaphores realize readers who write (Reader-Writer) the issue of concurrency control. 1) to write- write mutex: Can not write at the same time there are two write operations 2) read- write mutex: Can not have a thread at the same time in reading and writing another thread 3) Reading- Reading of permit: can have one or more readers read 4) the priority of additional restrictions readers: If the readers apply for a read operation, there was another reader being read, the reader can be directly started reading operation 5) to write additional priority Restrictions: If an application for a reader reading write operation has been in waiting for another visit to a shared resource, the read
- 2022-02-06 09:26:49下载
- 积分:1
-
5,操作系统图形界面银行家算法
5,操作系统图形界面银行家算法-5, the operating system GUI bankers Algorithm
- 2022-02-26 08:59:06下载
- 积分:1
-
linux0.11源码用于学习Linux操作系统
linux0.11源代码用于研究linux操作系统-linux0.11 source code used to study the linux operating system
- 2022-12-20 09:50:03下载
- 积分:1
-
磁盘调度算法 1。实现三种算法: 1。先来先服务 2。最短寻道优先(可自己假设当前磁头的位置) 3。电梯算法 2。磁道服务顺序从指定的...
磁盘调度算法 1。实现三种算法: 1。先来先服务 2。最短寻道优先(可自己假设当前磁头的位置) 3。电梯算法 2。磁道服务顺序从指定的文本文件(TXT文件)中取出 3。输出: 第一行:磁道的服务顺序 第二行:显示移动总道数-a disk scheduling algorithms. Three algorithms to achieve : 1. First-come first-serve two. Seeking shortest priority (to be their head the assumption that the current location) 3. Elevator Algorithm 2. Track services from the designated order of the text document (TXT) out of three. Output : the first line : track the order of the second line services : Road show that the total number of mobile
- 2022-08-15 21:13:09下载
- 积分:1
-
Memory management under Linux0.11 Authors: Yi
Linux0.11 下的内存管理 作者:袁镱
一篇某牛人写的关于linux 0.11 下内存管理的文章-Memory management under Linux0.11 Authors: Yi-Yuan Niu a person to write a linux 0.11 on the memory management under article
- 2022-01-24 18:49:55下载
- 积分:1
-
ucos的源代码程序,可以好好研究一下,尤其是进程控制用的一张二维表,简直是经典...
ucos的源代码程序,可以好好研究一下,尤其是进程控制用的一张二维表,简直是经典-uCOS program source code, you can look good, especially the process of controlling a two-dimensional form, it is a classic
- 2022-01-26 01:30:56下载
- 积分:1
-
国外关于MACH系统的经典论文,十分具有学术价值,对作distibuted systems的研究很有帮助...
国外关于MACH系统的经典论文,十分具有学术价值,对作distibuted systems的研究很有帮助-abroad MACH system on the classic papers, with high academic value, right distibuted systems for the study helpful
- 2022-01-21 22:44:37下载
- 积分:1
-
硬盘引导记录手册OS
硬盘引导记录手册OS-MSDOS,windows,windows NT,Linux系统硬盘引导流程-hard disk boot record manual OS-MSDOS, windows, windows NT, Linux system hard disk boot process
- 2022-02-21 16:47:46下载
- 积分:1
-
生产者和消费者
生产者和消费者实验代码,主要是为了应付操作系统实验而选择的代码。希望可以帮助到大家顺利完成实验吧,不挂科。代码有相应的注释,大家应该看得懂。代码的环境是VC6.0就可以编译,很方便。好了,大家有兴趣就下载来用用吧。
- 2022-12-01 10:45:03下载
- 积分:1
-
Nucleus Plus 移植代码 PowerPC 860
Nucleus Plus 移植代码 PowerPC 860-Nucleus Plus Code For PowerPC 860
- 2022-07-25 07:09:18下载
- 积分:1