-
串行端口。枚举和FIFO的控制。
Serial ports. Enumeration and FIFO controls.
- 2022-08-15 06:36:50下载
- 积分:1
-
简单的http文本网页下载程序。自定义下载的uri后运行,即可保存至本地目录下。...
简单的http文本网页下载程序。自定义下载的uri后运行,即可保存至本地目录下。-Simple http download the text of the page. Custom uri download after running, you can save to a local directory.
- 2022-04-30 16:09:11下载
- 积分:1
-
通过研究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
-
a micro
一个微型操作系统源码-a micro-source operating system
- 2022-03-28 23:46:04下载
- 积分:1
-
分享一个模拟生产者消费者的小程序
实验目的进程同步是操作系统多进程/多线程并发执行的关键之一,进程同步是并发进程为了完成共同任务采用某个条件来协调他们的活动,这是进程之间发生的一种直接制约关系。本次试验是利用信号量进行进程同步。实验软件环境VC++或者Linux操作系统实验内容• 生产者进程生产产品,消费者进程消费产品。 • 当生产者进程生产产品时,如果没有空缓冲区可用,那么生产者进程必须等待消费者进程释放出一个缓冲区。 当消费者进程消费产品时,如果缓冲区中没有产品,那么消费者进程将被阻塞,直到新的产品被生产出来。
- 2022-10-22 03:50:04下载
- 积分:1
-
一个简单的文件系统
一个简单的文件系统-a simple file system
- 2022-02-03 02:42:17下载
- 积分:1
-
I2C testing sample code
I2C测试示例代码
- 2023-05-05 18:35:04下载
- 积分:1
-
一个小小的操作系统,这是我写的。操作系统已经有多
A tiny operating system, which is written by me. The os has already had multi-task function, you can add another task in processes.asm .The os is written by nasm on linux platform, and the instruction of assemble is in the makefile.-A tiny operating system, which is written by me. The os has already had multi-task function, you can add another task in processes.asm .The os is written by nasm on linux platform, and the instruction of assemble is in the makefile.
- 2022-10-23 04:35:03下载
- 积分:1
-
串口调试,串口监测,网络串口,虚拟串口
应用背景本人自己编写的,串口调试,串口监测,网络串口,虚拟串口工具,应用方面很多,可以实现串口应用在网络上透传,支持从线程多进程并发运行。 如需修改,可以自己修改或联系本人协商关键技术直接使用Window串口编程,没有使用任何插件,运行速度快,在串口设备的调试,监测,网络传送,虚拟端口等方面,应用不错。同时对于多线程和多个进程并行运行,适应性比较强,是串口设备调试的用助手。
- 2022-02-03 08:06:04下载
- 积分:1
-
操作系统进程管理与调度 ,包括管理与调度的代码,并附有相关程序。...
操作系统进程管理与调度 ,包括管理与调度的代码,并附有相关程序。-Operating system process management and scheduling, including the management and scheduling of the code, along with related procedures.
- 2022-11-25 11:20:02下载
- 积分:1