-
分享一个模拟生产者消费者的小程序
实验目的进程同步是操作系统多进程/多线程并发执行的关键之一,进程同步是并发进程为了完成共同任务采用某个条件来协调他们的活动,这是进程之间发生的一种直接制约关系。本次试验是利用信号量进行进程同步。实验软件环境VC++或者Linux操作系统实验内容• 生产者进程生产产品,消费者进程消费产品。 • 当生产者进程生产产品时,如果没有空缓冲区可用,那么生产者进程必须等待消费者进程释放出一个缓冲区。 当消费者进程消费产品时,如果缓冲区中没有产品,那么消费者进程将被阻塞,直到新的产品被生产出来。
- 2022-10-22 03:50:04下载
- 积分:1
-
好代码这里有很好的平台让你下载怎么还是少了呢
好代码这里有很好的平台让你下载怎么还是少了呢
-good code here have a good platform for how you download or fewer?
- 2023-04-20 02:10:02下载
- 积分:1
-
galil1800 linux drivers demo
galil1800 linux驱动程序演示-galil1800 linux drivers demo
- 2022-10-24 08:35:03下载
- 积分:1
-
采用最佳适应算法模拟实现内存管理
采用最佳适应算法模拟实现内存管理-在VC++环境下编译通过,通过初始化空闲区、分配空闲区、回收空闲区实现模拟的内存管理。-best adaptation algorithm simulation memory management-the VC environment compile, free zone through the initialization, distribution idle, idle zones recovery simulation of memory management.
- 2023-09-05 22:25:03下载
- 积分:1
-
Eight digital tube experiments S3C44B0 Example directory file structure: 8led_te...
八段数码管实验用例S3C44b0
目录文件结构:
8led_test
├─ main.c C语言主源文件
└─ 8led.c 八段数码管处理函数源文件
如何烧写程序到Flash中,请阅读common目录下的ProgramFlash.txt文件。-Eight digital tube experiments S3C44B0 Example directory file structure: 8led_test ├ ─ main.c C language main source file └ ─ 8led.c eight digital tube function source file how to deal with procedures to the Flash programmer, please read the common directory ProgramFlash . txt file.
- 2022-04-15 04:25:24下载
- 积分:1
-
CPU调度算法的仿真项目实现FCFS,SJF,RR算法…
CPU scheduling algorithm simulation project implements FCFS , SJF , RR algorithms
- 2022-01-26 07:49:23下载
- 积分:1
-
operating system bankers algorithm source code
操作系统银行家算法原代码-operating system bankers algorithm source code
- 2022-06-20 00:40:48下载
- 积分: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
-
AU1100嵌入式处理器lcd显示驱动程序
AU1100嵌入式处理器lcd显示驱动程序-Lcd display embedded processor AU1100 driver
- 2023-06-17 23:50:03下载
- 积分:1
-
操作系统SCAN算法源码思想,希望有识之士可以棒改进一下,大家受益受益...
操作系统SCAN算法源码思想,希望有识之士可以棒改进一下,大家受益受益-SCAN algorithm source operating systems thinking, I hope people can stick to improve the look, we all benefit from the benefit
- 2022-04-09 14:31:04下载
- 积分:1