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

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

于 2023-07-23 发布 文件大小:1.80 MB
0 84
下载积分: 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 个回复

  • GESPI 2.0 dynamic system modeling tools
    GESPI 2.0动态系统模拟工具  -GESPI 2.0 dynamic system modeling tools
    2022-01-24 08:57:15下载
    积分:1
  • 早起的鸟儿 — — 这场比赛是设计遵循热的游戏飞扬的小鸟
    这场比赛是"早起的鸟儿游戏"。代码是通过使用 cocos2d 分类目录-x 工程师并使用 c + + 编程语言写的。源代码包含类的游戏。如可以生成多平台: windows,android、 ios,Mac...... 这是游戏开发人员用来了解游戏的代码和方式,使手机游戏的结构很好的例子
    2022-02-11 22:13:34下载
    积分:1
  • 2022-03-14 23:50:47下载
    积分:1
  • 的管理课程设计,描述学生的管理
    操作系统的管理系统课程设计,描述学生的管理系统- manage system on student file
    2022-02-26 09:20:10下载
    积分:1
  • 模拟一个页式虚拟存储,用FIFO和LRU置换算法,计算所发生的缺页次数。
    1、模拟一个页式虚拟存储系统,用FIFO和LRU置换算法,计算所发生的缺页次数。每个进程在内存占有3页数据区,刚开始时数据区为空。有以下访问数据页序列:5  0  1  0  2  0  1  4  0  2  5  1  2  3  5   (测试数据)请分别模拟2、实现过程:1) 内存分配:给进程分配一定的物理块数,由用户输入物理块数,用数组元素模拟物理块。2) 由文件读入页面访问序列,用数组保存。3) 将要访问的页面依次调入内存,分配到物理块中,形成页框表。其表项号即物理块号(数组元素下标),将页号放入数组相应位置。 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-02-07 13:05:33下载
    积分:1
  • P115 IC卡手持POS是天石科技32位IC卡POS列产品之一,该产品秉承天石科技的一贯品质,产品结构紧凑,功能实用,简单,并具低功耗特性,是人机工学和...
    P115 IC卡手持POS是天石科技32位IC卡POS系列产品之一,该产品秉承天石科技的一贯品质,产品结构紧凑,功能实用,操作简单,并具低功耗特性,是人机工学和现代科技的完美结合。它拥有多项专有技术,能够保证产品性能更加稳定强劲。整机采用工业级设计,其环境适应能力较强。P115兼容卡种全面,并且提供方便实用的开发平台和应用程序接口,易于自主应用二次开发,适用于需要随时随地处理IC卡的交警、烟草、公用事业、餐饮等多个行业。 应用演示程序-P115 IC card handheld POS technology is Tianshi 32 IC card POS products, one of our days, the product has always been the quality of stone technology, products, compact structure, functional and practical, simple operation, and a low-power characteristics, is a mechanic school and the perfect combination of modern technology. It has a number of proprietary technology, to ensure a more stable product performance strong. Machine used industrial design, ability to adapt to their environment. P115-compatible card types comprehensive, and provide convenient and practical development platform and application program interface, easy self-application of the second development, applicable to the needs of any traffic police deal with IC cards, tobacco, utilities, food and bever
    2022-01-26 05:57:03下载
    积分:1
  • 昨夜调度程序 1.按输入创建工队列 2打印输入业 3.先来先服务 4.按到达时间排序 5.按先来先服务进行相关计算...
    昨夜调度程序 1.按输入创建工作队列 2打印输入作业 3.先来先服务 4.按到达时间排序 5.按先来先服务进行相关计算-last night for a scheduler. According to the importation of work to create Print Queue 2 3 importation operations. First-come first-serve 4. On arrival time Scheduling 5. according to first-come first-related computing services
    2022-11-24 11:20:04下载
    积分:1
  • 这是我们实现的课设,内存修改器,非常有用,可以修改下你的扫雷。...
    这是我们操作系统实现的课设,内存修改器,非常有用,可以修改下你的扫雷。-Modify the memory device, very useful.
    2022-05-31 16:39:48下载
    积分:1
  • This is a shell program to simulate the system under unix. Can be achieved under...
    这是一个shell程序,模拟unix系统之下的。可以实现unix下的很多命令-This is a shell program to simulate the system under unix. Can be achieved under a lot of unix commands
    2022-07-01 10:50:54下载
    积分:1
  • 51 Singlechip transplantation under uCOS
    51单片机下移植uCOS-II源码,包含四个章节介绍的移植源码及驱动程序,配套“uC/OS-II内核分析、移植与驱动程序开发”-51 Singlechip transplantation under uCOS-II source, contains four chapters and the introduction of the transplant source driver, supporting
    2022-07-08 06:58:18下载
    积分:1
  • 696516资源总数
  • 106446会员总数
  • 9今日下载