-
试验目的:通过研究Linux的线程机制和信号量实现生产者消费者问题的并发控制 说明:有界缓冲区内设有20个存储单元,放入/取出的数据项设定为1~20这20个整型...
试验目的:通过研究Linux的线程机制和信号量实现生产者消费者问题的并发控制 说明:有界缓冲区内设有20个存储单元,放入/取出的数据项设定为1~20这20个整型数。 要求: (1)每个生产者和消费者对有界缓冲区进行操作后,即时显示有界缓冲区的全部内容.当前指针位置和生产者/消费者线程的标识符 (2)生产者和消费者各有两个以上 (3)多个生产者或多个消费者之间须共享对缓冲区进行操作的函数代码。-Test Objective : To study the Linux threading mechanism and signal to producers and consumers to achieve the concurrency control : a boundary buffer There are 20 storage units, Add/remove data items for a set of 20 ~ 20-integer. Requirements : (1) Each producer and consumer sector of the buffer zone is operated, immediately after the sector showed a buffer in its entirety. The current position and producer/consumer threads identifier (2) producers and consumers have two or more (3) A number of producers or many consumers to be shared between the right to operate the buffer function code.
- 2023-06-17 09:40:03下载
- 积分:1
-
Linux_Kernel核心中文手册(内核图解)
详细描述了linux内核的内部原理,并配有大量的图形方便理解。-A detailed description of the internal linux kernel principle, there are a lot of graphics to help understanding.
- 2022-04-16 22:38:18下载
- 积分:1
-
作业分区管理算法
作业分区管理算法-operations through management algorithm
- 2022-03-12 14:14:40下载
- 积分:1
-
The operating system memory management simulation, a good understanding of the b...
操作系统 内存管理的模拟,很好的理解内存管理的基本原则和方法-The operating system memory management simulation, a good understanding of the basic principles of memory management and methods of
- 2023-07-16 20:55:02下载
- 积分:1
-
模拟协处理器功能的 C 语言源码
模拟协处理器功能的 C 语言源码 -coprocessor functional simulation of C language source code
- 2023-01-23 18:50:03下载
- 积分:1
-
API Monitoring Unleashed!!!
API Monitoring Unleashed!!!
- 2022-07-07 09:30:29下载
- 积分:1
-
application bankers algorithm to solve deadlock
应用银行家算法解决死锁问题-application bankers algorithm to solve deadlock
- 2022-08-20 00:09:14下载
- 积分:1
-
MSP430 ucos 移植实例.有兴趣可以参考.
MSP430 ucos 移植实例.有兴趣可以参考.-MSP430 ucos examples transplantation. Who are interested can refer to.
- 2022-07-10 05:01:18下载
- 积分:1
-
一个简单的例子,为多线程和信号
此示例实现阅读室模型。假设有 8 个席位,在阅览室里,在等候室 5 个座位。Readers" 的行动会像这样: 1) 一位读者在前台服务注册他的信息,他进入阅览室之前。他在他离开后注销。前台服务只能处理一个 time.2 的一位读者) 如果一个读者发现阅读房间里满是,他会在等待 room.3 等) 如果在候诊室里没有席位,他将 leave.*The 主线程将启动 20 个读取器线程。读取器线程将重复上述行为。读者的行为记录打印在屏幕上和写到一个文件中。
- 2022-01-22 03:57:30下载
- 积分:1
-
STM32F103RB ucos2操作系统框架,可以通过串口进行…
stm32f103rb ucos2操作系统框架,可以通过串口发数据-stm32f103rb ucos2 operating system framework that can be made through the serial port data
- 2022-12-12 11:20:03下载
- 积分:1