登录
首页 » Process-Thread » 模拟操作系统里实现读者-写者问题的程序实例。用vc++编写,直接打开工程文件即可调试。...

模拟操作系统里实现读者-写者问题的程序实例。用vc++编写,直接打开工程文件即可调试。...

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

代码说明:

模拟操作系统里实现读者-写者问题的程序实例。用vc++编写,直接打开工程文件即可调试。-operating system simulation, achieving readers- who wrote the program examples. Vc with the preparation, direct project documents can be opened debugging.

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

发表评论

0 个回复

  • 使CPU利用率为100% 当为双核是运行两个实例即可
    使CPU利用率为100% 当为双核是运行两个实例即可-So that CPU utilization was 100 when running for the dual-core is two examples can be
    2022-07-17 22:50:04下载
    积分:1
  • 线程创建 事件触发 线程同步 结束线程
    线程创建 事件触发 线程同步 结束线程-Thread creation thread synchronization events to trigger the end of thread
    2022-02-14 06:27:32下载
    积分:1
  • two experimental operating system : the process of scheduling strategy to achiev...
    操作系统实验2:进程调度策略的模拟实现 1、 设计一个有 N个进程共行的进程调度程序。 2、 每个进程有一个进程控制块PCB来表示,进程控制块的格式为: 进程名 优先数 到达时间 需要运行时间 已占用CPU时间 进程状态 a) 进程优先数、需要运行时间、到达时间可以事先人为地指定,也可以随机产生,注意初始化上述数值时要尽量使进程并发执行,而不是按到达时间顺序调度。 b) 进程的运行时间以时间片为单位进行计算。 c) 进程状态分为就绪、运行、完成三种状态之,分别用W、R、F表示。 3、 进程调度规则如下: a) 就绪进程获得 CPU后都只能运行一个时间片。用已占用CPU时间加1来表示。 b) 如果运行一个时间片后,进程已占用 CPU时间达到所需要运行时间,则进程完成,撤销该进程。 c) 如果运行一个时间片后,进程已占用CPU时间还未达到所需要运行时间,即进程需要继续运行,将它插入就绪队列,队列重新排序,等待CPU。 d) 重复以上过程,直到所要进程都完成为止。 -two experimental operating system : the process of scheduling strategy to achieve a simulation. Design is a process of a total of N the process scheduler. 2, each process is a process control block to PCB said that the process control block format : process a few who arrived at the priority needs time to time running CPU time a state process) process priority number. need to run time, arriving in time prior to artificially designated, can also randomly generated, Initialization attention to the above values are to m
    2022-02-20 17:25:28下载
    积分:1
  • 简单线程池的实现方法,包含一个主控线程池类ThreadPool和一个工作线程WorkThread...
    简单线程池的实现方法,包含一个主控线程池类ThreadPool和一个工作线程WorkThread-simple thread pool method, including a master class ThreadPool thread pool, and a work-threaded WorkThread
    2022-04-22 16:30:47下载
    积分:1
  • 详细讲解进程间通讯的四种方式:剪贴板、匿名管道、命名管道和邮槽。并比较分析这几种进程间通信的优点和缺点。...
    详细讲解进程间通讯的四种方式:剪贴板、匿名管道、命名管道和邮槽。并比较分析这几种进程间通信的优点和缺点。-explain in detail the communication process in four ways : the clipboard, anonymous pipes, named pipes and mail chutes. Analysis and comparison of several inter-process communication advantages and disadvantages.
    2022-03-22 20:51:19下载
    积分:1
  • 这个是一个关于多线程的程序线程其实是计算机运行的最小单位...
    这个是一个关于多线程的程序线程其实是计算机运行的最小单位-This is a multi-threaded on the procedures thread is the smallest computer operating units
    2023-03-18 07:25:03下载
    积分:1
  • VB关闭冰刃的代码,是学习进程的不错例子。
    VB关闭冰刃的代码,是学习进程的不错例子。-VB code to close冰刃is a good example of the learning process.
    2022-03-19 02:27:56下载
    积分:1
  • 经典进程同步和互斥另类WINDOWS解法.定义信号量机制在WINDOWS下完成哲学家进餐问题....
    经典进程同步和互斥另类WINDOWS解法.定义信号量机制在WINDOWS下完成哲学家进餐问题.-classical process synchronization and mutex WINDOWS alternative solution. Volume definition signal mechanism in Windows complete the dining philosophers problem.
    2022-06-14 07:22:38下载
    积分:1
  • incident kernel object, the key code of (critical) explanations, and the multi
    事件内核对象、关键代码段(临界区)的讲解,以及在多线程同步中的应用。在Windows下编写基于消息的网络应用程序,掌握阻塞与非阻塞网络程序的编写,理解在Windows平台下,采用异步选择机制可以提高网络应用程序的性能。-incident kernel object, the key code of (critical) explanations, and the multi-thread synchronization application. In the preparation of Windows-based news network applications, master obstruction and nonobstructive network program, understanding of the Windows platform, using asynchronous selection mechanism can improve network application performance.
    2022-11-24 04:00:03下载
    积分:1
  • vc a brief multi
    vc多线程编程简单介绍,有个实例介绍的录像。-vc a brief multi-threaded programming, a video examples.
    2022-03-29 22:41:47下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载