-
c语言编写的tc下串口通讯原程序,其中包括串口的设置,串口接收数据,串口发送数据!...
c语言编写的tc下串口通讯原程序,其中包括串口的设置,串口接收数据,串口发送数据!-c tc language of the original Serial communications procedures, including serial configuration, serial data receiver, Serial sent the data!
- 2022-01-25 16:23:20下载
- 积分:1
-
OPNET下的FIFO程序,用以增强OPNET下的FIFO功能...
OPNET下的FIFO程序,用以增强OPNET下的FIFO功能-OPNET under the FIFO procedure to enhance the OPNET functions under the FIFO
- 2022-07-14 02:26:39下载
- 积分:1
-
通过IP网络控制服务器,实现BIOS级的控制。
通过IP网络控制服务器,实现BIOS级的控制。-kvm over ip
- 2022-06-30 10:06:12下载
- 积分:1
-
在Linux下实现文件的拷贝,多线程实例,设备驱动的编写,文件系统的处理,进程管理器的部分功能实现...
在Linux下实现文件的拷贝,多线程实例,设备驱动的编写,文件系统的处理,进程管理器的部分功能实现
- 2022-03-06 00:26:04下载
- 积分:1
-
demonstration of the process of how to use the preparation of high
本程序演示了如何利用编写高层应用程序与USB接口通信。有必要了解主机是如何识别USB设备以及USB工作的基本原理。-demonstration of the process of how to use the preparation of high-level application program interface with the USB communication. It is necessary to understand the mainframe is how to identify and USB USB devices to the basic tenets.
- 2022-03-18 20:58:56下载
- 积分:1
-
操作系统兔子吃草
#include "stdafx.h"
#include
#include
#include
/*信号量的定义,它是负责协调各个线程, 以保证它们能够正确、合理的使用公共资源。 用于控制进程间的同步与互斥*/
typedef HANDLE Semaphore;
Semaphore g_semBuffer,g_semGlass, g_mutex; //mutex 为互斥锁
// 利用 Windows 下的 API 函数(视窗操作系统应用程序接口)来定义 P、V 操作
#define P(S) WaitForSingleObject(S,INFINITE)
#define V(S) ReleaseSemaphore(S,1,NULL)
#define rate 1000
#define CONSUMER_NUM 4 // 消费者个数
#define PRODUCER_NUM 4 // 生产者个数
#define BUFFER_NUM 4 // 缓冲区个数
char *thing[4]={"glass1","glass2","glass3","glass4"};
//公共的队列缓冲区
struct Buffer
{
int product[BUFFER_NUM];
int front,rear;
}g_buf;
//兔子线程
DWORD WINAPI Rabbit(LPVOID para)
{
int i =*(int*)para; //第 i 只小白兔&
- 2022-05-23 06:18:02下载
- 积分:1
-
这是一个操作系统(计算机科学课程)的设计。它的功能…
这是一个操作系统(计算机系课程)的课程设计。它的功能是模拟文件管理,包括建立用户,建立文件并对文件设置属性.还包括对文件的添加,修改,删除等操作-This is an operating system (computer science courses) are designed. Its function is simulated document management, including the establishment of users, document also set up document attributes. The document also includes the addition, modification, deletion, etc
- 2022-02-04 05:04:46下载
- 积分:1
-
linux汇编语言
linux汇编语言-linux assembly language
- 2023-04-13 00:15:03下载
- 积分:1
-
Computer operating system process management and process documents, VC++ Platfor...
计算机操作系统进程管理和进程文件,VC++平台运用-Computer operating system process management and process documents, VC++ Platform use
- 2022-08-25 07:41:31下载
- 积分:1
-
dining philosophers problem Java version
哲学家进餐问题Java版-dining philosophers problem Java version
- 2022-06-16 20:08:38下载
- 积分:1