-
操作系统的存储管理
操作系统的存储管理-Operating system storage management
- 2022-02-11 21:46:05下载
- 积分: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
-
电子地图管理系统
电子地图数据库管理系统,适合操作系统初学者,运用C语言实现电子地图的信息搜索,以及增删改查等功能。 界面简练,便于开发,初学者可以加以修改后运用。
- 2022-05-13 08:35:08下载
- 积分:1
-
attention : 1. OS.jar Java package for two executable files. Due to the time and...
注意: 1. OS.jar为Java打包可执行文件 2. 由于时间,和界面空间问题,每个进程的资源拥有情况没有详细列明.如果要认真检查 程序的正确性,可以重新编译运行,然后查看Dos界 面下的输出.因为Dos界面下会输出 每个进程的资源情况(包括每个进程对每类资源的最大需求,分配情况,和所欠资源情况. 3. 资源设置中,进程设置应小于100个,资源类数应小于20个.-attention : 1. OS.jar Java package for two executable files. Due to the time and space interface, each process of the availability of resources, no details. If we were to check the correctness of procedures can recompile running, and then checking Dos interface output . because Dos output interface will process each of the resources (including each process for each category of the biggest resources demand, distribution, and outstanding resources. 3. resources set up, the process set up should be less than 100, the resource shall be less than 20.
- 2023-04-06 21:55:03下载
- 积分:1
-
书 名: unix和shell程序设计权威教程
出 版 社: 清华大学出版社
作 者: [美]佛努丹,吉尔伯格著
本书介绍了unix操作系...
书 名: unix和shell程序设计权威教程
出 版 社: 清华大学出版社
作 者: [美]佛努丹,吉尔伯格著
本书介绍了unix操作系统和shell编程两个部分的知识。前一部分全面讲解了unix操作系统,包括unix操作系统、vi和ex编辑器、文件系统与文件操作权限、以及各种unix实用程序;后一部分深入介绍了各种类型的unix shell编程,涵盖了korn shell、c shell等主要的shell类型。本书采用可视化讲解方法,全书包含大量的图、表、代码清单、脚本和代码示例,可有效帮助读者理解所介绍的内容;各章章末还配备了相应的复习题、练习题和上机实习等资料,以帮助读者巩固所学的知识。 -Title : unix shell design and authoritative guide publishers : Tsinghua University Press Author : [U.S.] Naodan Dover, Jierbage book, the book on the unix operating system and shell programming two parts of the knowledge. First part of a comprehensive account of unix operating systems, including unix operating system, and ex vi editor. file system and file manipulation authority, and various unix utilities; latter part of the in-depth briefings on the various types of unix shell programming, covering the korn shell. c shell, and other major type of shell. The book on the visual method, the book contains a large number of graphs, charts, code lists, scripts and code examples, ca
- 2022-07-12 03:10:45下载
- 积分:1
-
设置显示器的显示模式的程序
详细说明:这是一个可以设置显示器的显示模式的程序,程序的分辨率,频率都可以在运行的时候设置-This is a display you can set the display mode of procedure, procedural resolution, the frequency can be set at run time
- 2022-12-01 21:45:03下载
- 积分:1
-
一个微型操作系统源码
一个微型操作系统源码-a micro-source operating system
- 2022-04-23 22:33:06下载
- 积分: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
-
国外的
国外的-C++ 200多个源码-foreign-C more than 200 FOSS
- 2022-03-22 14:31:17下载
- 积分:1
-
系统启动时检测内存状况的软件C代码,程度有点深,具备了C高级编程知识的朋友们可以参考研习。...
系统启动时检测内存状况的软件C代码,程度有点深,具备了C高级编程知识的朋友们可以参考研习。-Boot time memory status detection software C code, the degree of bit depth, with a high-level programming knowledge of C friends can refer to the study.
- 2023-01-08 03:00:04下载
- 积分:1