搜索资源列表
process-tongbu-and-huchi
- 线程间的互斥:并发执行的线程共享某些类临界资源,对临界资源的访问应当采取互斥的机制。 线程间的同步:并发执行的线程间通常存在相互制约的关系,线程必须遵循一定的规则来执行,同步机制可以协调相互制约的关系。-Mutual exclusion between threads: concurrent execution threads share certain types of critical resources, access to critical resources should be
shiyan4
- 一个简单的java的线程同步与互斥小程序,可以更好了解线程的同步与互斥方法的调用-A simple java thread synchronization and mutual exclusion program, you can better understand the thread synchronization and mutual exclusion method call
Thread
- 同步信号:信号量同步,临界区同步,互斥同步,清屏功能。-Synchronization signals: semaphore synchronization, critical section synchronization, mutual exclusion synchronization
PorcessTest
- 用c++很好的实现了,进程中线程的同步和互斥功能。代码清晰明了,可供新手学习。开发环境vs2010。-Good use c++ process thread synchronization and mutual exclusion function. The code clarity for the novice to learn. Development environment is vs2010.
HuChiLiang
- 教科书式的DELPHI源码,演示了进程互斥及线程互斥,相信对初学者会有很大帮助。-DELPHI source of the textbook demonstrates the mutual exclusion and thread mutexes, I believe there will be a great help for beginners.
yf2
- 计算机操作系统实验类文章,主要是对于著名的生产者与消费者的问题进行互斥与共享的临界资源的设置与访,实现进程的同步与互斥。-Experimental articles of the computer operating system, mainly for the well-known producers and consumers mutually exclusive and shared set of critical resources and visits to achieve proce
synchronism-and-mutex
- 有关线程的同步与互斥,实现了老师讲的银行家算法。-About thread synchronization and mutual exclusion teacher talk about bankers algorithm.
RRProcessControl
- 1) 每一个进程有一个PCB,其内容可以根据具体情况设定。 2) 可以在界面设定的互斥资源(包括两种:输入设备与输出设备)的数目 3) 进程数、进入内存时间、要求服务时间可以在界面上进行设定 4) 进程之间存在一定的同步与互斥关系,可以通过界面进行设定,其表示方法如下: 进程的服务时间由三段组成:I2C10O5(表示进程的服务时间由2个时间片的输入,10个时间片的计算,5个时间片的输出) 进程间的同步关系用一个段表示:W2,表示该进程先要等待P2进程执行结束后才可以运行
producer
- 操作系统上机 生产者和消费者 实现进程间的互斥和同步-Computer operating system between producers and consumers to achieve process mutual exclusion and synchronization
philosophers
- 用VC编程创建五个线程,模拟实现五个哲学家来竞争五只筷子(资源)去吃通心面的情况,必须确保五个线程的同步和互斥,并且在运行时不会产生死锁。-Creates five threads with VC programming, simulation five philosophers to compete for the five chopsticks (resources) to eat macaroni, must ensure that the synchronization and mutu
Room
- 理发师与顾客问题,利用信号量实现线程间的互斥,代码完整,可利用Eclipse查看。-Barber and customer issues, the use of semaphores to implement mutual exclusion between threads, code integrity, and can be used Eclipse view.
Cashiers-and-customers
- 收银员与顾客问题(信号量操作) 设计目的:了解信号量机制,了解并掌握进程同步和互斥机制,熟悉信号量的操作函数,利用信号量实现对共享资源的控制。 操作系统是一门工程性很强的课程,它不仅要求学生掌握操作系统的工作原理和理论知识,也要求学生的实际动手能力,以加深对所学习内容的理解,使学生熟练地掌握计算机的操作方法,使用各种软件工具,加强对课程内容的理解。 要求:在某超市里有一个收银员,且同时最多允许有n个顾客购物,我们可以将顾客和收银员看成是两类不同的进程,且工作流程如下图所示。为了利用P
Producer_Consumer
- 我是编程小菜鸟= =,这是一个信号量互斥的经典问题,消费者生产者问题的简单实现,使用线程方式,所以在调试时须选择多线程方式。-I was programming a small rookie = = This is a classic problem of mutual exclusion semaphores, producer consumer problem s simple implementation, using threads, so when debugging multith