-
通过研究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
-
DOS操用系统源代码,C语言编写,对操作系统的认识有很大的帮助....
DOS操用系统源代码,C语言编写,对操作系统的认识有很大的帮助.-DOS speaks system source code, C language, the awareness of the operating system will be very helpful.
- 2023-04-27 00:40:03下载
- 积分:1
-
哲学家进餐问题实现
哲学家进餐问题实现-dining philosophers problem of achieving
- 2022-01-23 10:18:04下载
- 积分:1
-
This is a process of the operating system's scheduling experiment, the sched...
这是一个关于操作系统进程调度的实验,采用的是优先权调度算法-This is a process of the operating system"s scheduling experiment, the scheduling algorithm is priority
- 2022-02-10 12:01:34下载
- 积分:1
-
ckos 移植到ARMTDMI7核的ADuC7026上
ckos 移植到ARMTDMI7核的ADuC7026上-ckos transplanted to the ADuC7026 on nuclear ARMTDMI7
- 2022-01-28 01:15:59下载
- 积分:1
-
ucosIII内核源码(source code)
ucos操作系统是可移植的,可植入rom的,可裁剪的抢占式、实时多任务操作系统内核,本源码注释多,适合各阶段读者学习。
- 2022-09-12 19:35:03下载
- 积分:1
-
Orange s:一个操作系统的实现(书附源码)chapter6.rar
Orange s:一个操作系统的实现(书附源码)chapter6.rar-Orange" s: an operating system implementation (source code attached to the book) chapter5.rar
- 2022-01-31 18:40:29下载
- 积分:1
-
操作系统的测试报告,内容很丰富,我的过程…
上操作系统所作的试验报告,内容很丰富,有关进程和内存文件管理的-operating system on the test report, is very rich in contents, the process of memory and document management
- 2022-07-12 01:55:13下载
- 积分:1
-
BCB与Open CV
带打开cv的BCB
- 2022-09-16 22:30:08下载
- 积分: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