-
operating system bankers algorithm source code
操作系统银行家算法原代码-operating system bankers algorithm source code
- 2022-06-20 00:40:48下载
- 积分:1
-
minix203 source operating system
minix203操作系统的源码-minix203 source operating system
- 2022-06-18 17:56:35下载
- 积分:1
-
This is the realization of operating system scheduling problem of traffic lights...
这是实现操作系统交通灯调度问题,里面不是很好,希望大家提出宝贵的意见-This is the realization of operating system scheduling problem of traffic lights, which is not very good, hope that the valuable advice
- 2022-05-31 01:57:21下载
- 积分:1
-
Nucleus Plus 源码在PowerPC上的移植8245
Nucleus Plus 源码在PowerPC上的移植8245-Nucleus Plus Code For PowerPC 8245
- 2022-02-04 03:17:03下载
- 积分:1
-
单道批处理系统的作业调度程序(短作业优先,最高响应比,先来先服务三种算法)...
单道批处理系统的作业调度程序(短作业优先,最高响应比,先来先服务三种算法)-Shan Road Batch Job Scheduling System (short operating priority, the highest response ratio, first-come first three service algorithm)
- 2022-07-17 03:18:26下载
- 积分: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
-
J2ME是Java 2平台的一个版本,使用在各种各样的消费电子产品和嵌入式设备上。Java Card技术规范得Java应用能运行在智能卡和更小的嵌入式设备上。本...
J2ME是Java 2平台的一个版本,使用在各种各样的消费电子产品和嵌入式设备上。Java Card技术规范得Java应用能运行在智能卡和更小的嵌入式设备上。本文介绍J2ME和Java Card的硬件平台和软件体系结构,以及如何进行J2ME和Java Card应用程序开发。Java在移动通信领域的应用已经引起广泛的关注,本文对此进行了详细的描述。-J2ME Java 2 Platform, a version of used in a wide range of consumer electronic products and embedded devices. Java Card specifications in Java applications can run on smart cards and small embedded devices. This paper introduces J2ME and Java Card hardware platforms and software architecture, and how J2ME and Java Card application development. Java in the area of mobile communications applications has attracted widespread attention, the paper carried a detailed description.
- 2023-05-02 01:45:04下载
- 积分:1
-
Basic Boot kernel
真正的操作系统开发从操作系统开发开始。好的,这段代码是32位代码(32位代码可以做到这一点),并调用一个名为ku main的函数,该函数在名为;
- 2023-03-31 15:15:03下载
- 积分:1
-
试验目的:通过研究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
-
3.30 MSDOS的源代码
msdos 3.30 source code
- 2022-05-06 23:51:23下载
- 积分:1