登录
首页 » 操作系统 » 操作系统课程设计,模拟文件系统(unix混合索引方式),此程序是在1周的课程设计中所写,不完善,且代码粗糙。但,希望能给大家一些帮助,也希望能对你们的课程设计有...

操作系统课程设计,模拟文件系统(unix混合索引方式),此程序是在1周的课程设计中所写,不完善,且代码粗糙。但,希望能给大家一些帮助,也希望能对你们的课程设计有...

于 2022-07-07 发布 文件大小:67.63 kB
0 117
下载积分: 2 下载次数: 1

代码说明:

操作系统课程设计,模拟文件系统(unix混合索引方式),此程序是在1周的课程设计中所写,不完善,且代码粗糙。但,希望能给大家一些帮助,也希望能对你们的课程设计有所帮助,更希望能有人修改它。谢谢!-courses on operating system design, simulation File System (unix Index Mixed mode), this procedure is the one-week course design is written, imperfect and code rough. However, the hope of giving you some help, and hope they can right your curriculum design help, the hope was modifying it. Thank you!

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 1.实验目的: 模拟实现银行家算法,用银行家算法实现资源分配。 2.实验内容: 设计五个进程{P0,P1,P2,P3,P4}共享三类资源{A,B,C}的,{...
    1.实验目的: 模拟实现银行家算法,用银行家算法实现资源分配。 2.实验内容: 设计五个进程{P0,P1,P2,P3,P4}共享三类资源{A,B,C}的系统,{A,B,C}的资源数量分别为10,5,7。进程可动态地申请资源和释放资源,系统按各进程的申请动态地分配资源。要求程序具有显示和打印各进程的某一时刻的资源分配表和安全序列;显示和打印各进程依次要求申请的资源号以及为某进程分配资源后的有关资源数据。 3.程序设计和说明: 函数说明:anquan( )判断给某个进程请求后系统是否安全,anquan1()判断当前系统是否安全。GetAll()取得所有进程的的各个资源数据。详细说明请参见附录中的程序的文档说明。-1. The experiment : Simulation Algorithm bankers, bankers algorithm with the allocation of resources. 2. Experiment : Design 5 (process P0, P1, P2, P3, P4) (resource sharing three categories A, B, C), (A, B, C) amount of resources to 10,5,7. Dynamic process could apply to the resources and the release of resources, according to the system processes the application to dynamically allocate resources. Procedures required to display and print the process of a moment of the distribution of resources and safety sequence; Display and print the process followed for seeking resources, as well as a process of distribution of resources in the resource data. 3. Program design and description : F
    2022-04-07 18:24:35下载
    积分: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
  • Process Scheduling Algorithm Implementation
    进程调度算法的实现-Process Scheduling Algorithm Implementation
    2023-03-15 07:15:03下载
    积分:1
  • 一个迷你gazos的源码
    一个迷你操作系统gazos的源码-a mini-source operating system gazos
    2023-01-11 20:50:04下载
    积分:1
  • MINIX2.0源码,是Linux的前身,世界上最小的32位
    MINIX2.0操作系统源码,是Linux的前身,世界上最小的32位操作系统-Minix operation system ver 2.0,the pater of Linux,the smallest 32bits operation system in the world.
    2023-08-05 11:15:06下载
    积分:1
  • 讲的很详细,希望对大家有用,一共有三部分
    讲的很详细,希望对大家有用,一共有三部分-Talked about in great detail and hope for all of us, a total of three parts
    2022-02-25 14:04:31下载
    积分:1
  • 短进程业调度
    短作业优先级调度,mfc框架,实现短进程优先调度算法,可以运行,应该会有帮助
    2022-02-25 20:31:20下载
    积分:1
  • XML Parser , RSS BlogReader
    XML Parser , RSS BlogReader
    2022-04-10 00:51:35下载
    积分:1
  • Windows实验--内存监视
    实验要求:设计一个内存监视器,能实时地显示当前系统中内存的使用情况,包括系统地址空间的布局,物理内存的使用情况;能实时显示某个进程的虚拟地址空间布局和工作集信息等。
    2022-05-26 11:19:28下载
    积分:1
  • windows中的prochandle项目
    windows操作系统中的prochandle项目-windows operating system as a project prochandle
    2023-07-12 04:10:03下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载