-
通过研究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
-
新版本发布之为0.6.5.0。它的基础上有点不到100和…
New Kolibri version 0.6.5.0 released. It s based on a bit less than hundred and a half revisions, including many changed and additions for both kernel and applications. Most noticeable is read ability from NTFS partitions, kernel support for programs and drivers packed with KPACK, functions to change cursors from the application side. Desktop picture should now look more attractive since new smoothing algorithm is used.
Talking about programs changing we can mark KFAR (copy files, create folders), FASM (fixes for output generation), TINYPAD (work with mutliple files, change encoding, dynamic memory allocation). Changes have also been made to more than 50 other programs.
- 2023-05-02 04:55:06下载
- 积分:1
-
串口的vc演示程序,和调试助手类似哦,比较超值啊
串口的vc演示程序,和调试助手类似哦,比较超值啊-Vc serial demo program, and debug similar aides Oh, ah Comparison Value
- 2022-02-16 08:11:35下载
- 积分:1
-
微软考试详尽的解释,历年试题解析,例题等。考微软的认证要看啊・!...
微软考试详尽的解释,历年试题解析,例题等。考微软的认证要看啊・!-Microsoft examinations detailed explanation of the calendar year analytic questions, as examples. Microsoft"s certification test to see ah!
- 2022-01-27 08:46:04下载
- 积分:1
-
Cunit for testing c codes
CUnit是C的单元测试框架。
- 2023-07-31 11:00:03下载
- 积分:1
-
用VB实现生产者与消费者问题
用VB实现生产者与消费者问题-VB producer and consumer issues
- 2022-06-16 19:29:24下载
- 积分:1
-
word word2003 vc6.0 plug
word 插件 在word2003+ vc6.0 条件下运行
可以单击弹出atl 的窗口
简单可实现 -word word2003 vc6.0 plug-in operation under the conditions can click pop-up windows atl I can be simple
- 2022-06-20 03:54:01下载
- 积分:1
-
微内核l4操作系统源码,对操作系统实现感兴趣的朋友可以看下,相信有 用...
微内核l4操作系统源码,对操作系统实现感兴趣的朋友可以看下,相信有 用-L4 microkernel operating system source code, the operating system to achieve interesting friends can look down, I believe useful to
- 2023-05-07 03:50:04下载
- 积分:1
-
学习MFC的好东西,跟刚才的一起
学习MFC的好东西,跟刚才的一起-learning MFC good things, together with the earlier
- 2022-08-15 01:04:35下载
- 积分:1
-
作业调度三种算法FCFS,SJF,HRN
作业调度三种算法FCFS,SJF,HRN -Job Scheduling Algorithm FCFS, SJF, 010-001
- 2022-05-30 08:05:36下载
- 积分:1