登录
首页 » 操作系统 » 线程同步机制。 互斥器的功能和临界区域很相似。区别是:Mutex所花费的时间比Critical Section多的多,但是Mutex是核心对象(Event、...

线程同步机制。 互斥器的功能和临界区域很相似。区别是:Mutex所花费的时间比Critical Section多的多,但是Mutex是核心对象(Event、...

于 2023-07-23 发布 文件大小:1.80 MB
0 79
下载积分: 2 下载次数: 1

代码说明:

线程同步机制。 互斥器的功能和临界区域很相似。区别是:Mutex所花费的时间比Critical Section多的多,但是Mutex是核心对象(Event、Semaphore也是),可以跨进程使用,而且等待一个被锁住的Mutex可以设定TIMEOUT,不会像Critical Section那样无法得知临界区域的情况,而一直死等。-Thread synchronization mechanism. Mutex" s function and the critical region is very similar. The difference is: Mutex spent more time than the multi-Critical Section, but the Mutex is the core object (Event, Semaphore is), you can cross-process use, and has been locked waiting for a Mutex can be set to TIMEOUT, not as Critical Section did not know the critical situation in the region, for so long and so die.

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

发表评论

0 个回复

  • Sunplus. System development board _35 plate system development board test proced...
    凌阳6.系统开发板_35板系统开发板测试程序-Sunplus. System development board _35 plate system development board test procedures
    2023-06-27 20:20:04下载
    积分:1
  • 编程计算磁盘上(或某一目录下)所有文件的平均长度。 编程计算磁盘上(或某一目录及其各级子目录)每目录的平均文件个数。...
    编程计算磁盘上(或某一目录下)所有文件的平均长度。 编程计算磁盘上(或某一目录及其各级子目录)每目录的平均文件个数。-programming calculated on the disk (or a directory) all the average length of documents. Programming calculated on the disk (or levels of a directory and its subdirectories), the average per-directory document number.
    2022-03-22 18:55:05下载
    积分:1
  • HDLC调试源代码,在ARM7上的测试(无)。
    HDLC调试源码,在ARM7上测试通过(不带操作系统的)。-HDLC debug source code, in the ARM7 on the test (without operating system).
    2023-02-25 12:20:03下载
    积分:1
  • 大家快来下载。这是目前最新管方版本了,Micrium
    大家快来下载。这是目前最新管方版本了,Micrium-uCOS-II-V284.zip, 开发和研究者可以通过购买Micrium公司的Jean先生的μC/OS-II的书籍,而得到μC/OS-II源代码,但是仅可以作为个人和学校学习使用,所有和μC/OS-II直接和间接相关的商业目的行为,必须购买使用μC/OS-II及系列产品的商业授权,包括芯片/单板/系统厂家的任何参考设计,教学设备和最终的产品,如果没有得到Micrium公司Jean先生签字的合法授权都是不合法的使用, 这在μC/OS-II的书籍Micrium公司(www.micrium.com)和中国代理商-北京麦克泰软件公司网站(www.bmrtech.com)上面中有明确规定。 -Come everyone to download. This is the latest version of the management, Micrium-uCOS-II-V284.zip, development, and researchers can purchase Micrium
    2022-08-22 20:15:49下载
    积分:1
  • Memory mapping example, needs can facie, C language
    内存映射实例,需要的可以看下,C语言编写-Memory mapping example, needs can facie, C language
    2022-11-28 05:50:04下载
    积分:1
  • 处理器的进程调度编写程序完成单处理机中的进程调度,要求采用时间片轮转调度算法。实验具体包括:首先确定进程控制块的内容,进程控制块的组成方式;然后完成进程...
    处理器系统的进程调度编写程序完成单处理机系统中的进程调度,要求采用时间片轮转调度算法。实验具体包括:首先确定进程控制块的内容,进程控制块的组成方式;然后完成进程创建原语和进程调度原语;最后编写主函数对所作工作进程测试。-processor systems process scheduling procedures for the preparation of single-processor system to complete the scheduling process, requiring time-Cycle Scheduling algorithm. Specific experiments include : first determine the process control block, process control block of composition; Then complete the process of creating original language and the process of scheduling the original language; Final preparation of the main function of the work done by the process of testing.
    2023-03-02 07:10:03下载
    积分:1
  • 33个经典的例子程序,通过调试和学习UCOSII的弱点…
    ucosII的33个经典例题,均调试通过的,学习ucosII的捷径,强烈推荐!因文件太多,分成了5个上载,请大家谅解!-ucosII of 33 classic examples, both through debugging and learning ucosII shortcut, strongly recommended! Because too many documents, divided into five available, please understanding!
    2022-12-07 18:20:02下载
    积分:1
  • simulation file system functions, is a familiar type of document structure
    模拟文件系统的功能,是一个熟型的文件结构-simulation file system functions, is a familiar type of document structure
    2022-02-25 17:02:24下载
    积分:1
  • 本次程序的题目为:进程管理――支持多个进程并发运行的简单的进程管理模拟,对本实验的分析要求是:⑴中的同步机构采用信号量上的P、V的机制;⑵控制机构包...
    本次程序的题目为:进程管理――支持多个进程并发运行的简单的进程管理模拟系统,对本实验的分析要求是:⑴系统中的同步机构采用信号量上的P、V操作的机制;⑵控制机构包括阻塞和唤醒操作;⑶时间片中断处理程序处理模拟的时间片中断;⑷进程调度程序负责为各进程分配处理机;⑸根据用户的需求来创建n个进程(n为即满足用户需求,又不超出系统可容的最大进程数),各进程互斥地访问使用临界资源 S1、S2;⑹使用动态优先数(如:随阻塞次数的增加而减小优先数,以提高其优先权);⑺进程结束后应能够撤消;⑻进程间能实现“发送”和“接收”两个消息缓冲通信操作;⑼系统在运行过程中随机打印出各进程的状态变换过程、系统的调度过程及公共变量的变化情况,在一个进程运行完毕,进入完成状态后,可以将该进程撤消,也可以动态的创建另一个新的进程。-the procedures on the topic of : process management-- to support multiple concurrent processes running a simple process management simulation system for the analysis of the experimental requirements are : 1 system of institutions using synchronous signals on the amount of P, V operation of the mechanism; 2 control agencies, including obstruction and awaken operation ; 3-time interrupt handling procedures-time simulation of interruption; 4 process scheduler is responsible for the allocation process processors; together according to the user"s needs to create process n (n that meet user needs, without exceeding the system can accommodate
    2022-11-14 01:00:03下载
    积分:1
  • linux.010 source code for linux system
    linux.010源代码用于linux系统研究-linux.010 source code for linux system
    2022-03-29 02:12:07下载
    积分:1
  • 696518资源总数
  • 106235会员总数
  • 12今日下载