搜索资源列表
reader_writer_p_v_operate
- 操作系统课内实验部分,用java实现,读者写着互斥与同步-operating system reverse experiment, using java realized, the reader wrote mutex and Synchronization
Consumer-Producer
- java生产者消费者程序实现 线程,信号量互斥事件 临界资源-java producer consumer program threads, semaphores contradict critical resources incident
usexianchenghuchi
- 利用线程实现进程互斥,这有利于我们更深的认识java-use threads to achieve mutually exclusive process, which will enable us to a deeper understanding of java
Traficlights
- 这个程序只要用于实现进程(线程)互斥与同步-the procedures used to achieve as long as the process (thread) mutex and Synchronization
JThreadSynch
- 此源码是实现线程间同步互斥的算法,较好的显现线程之间的同步互斥功能-this source is to achieve synchronization between threads mutex algorithm, the better appear thread synchronization between the mutex function
线程
- 操作系统的线程互斥的程序实现。-operating system threads exclusive processes.
philosopher(1.6)
- 哲学家进餐问题——Java语言实现 哲学家进餐问题是一个多线程运用的经典例子,涉及到线程同步/互斥,临界区访问问题以及一个避免死锁的解决方法。 有五个哲学家绕着圆桌坐,每个哲学家面前有一盘面,两人之间有一支筷子,这样每个哲学家左右各有一支筷子。 哲学家有2个状态,思考或者拿起筷子吃饭。如果哲学家拿到一只筷子,不能吃饭,直到拿到2只才能吃饭,并且一次只能拿起身边的一支筷子。一旦拿起便不会放下筷子直到把饭吃完,此时才把这双筷子放回原处。 如果,很不幸地,每个哲学家拿起
Test
- Java生产者消费者的模拟器,核心代码是用线程做的,能体现出线程互斥同步的状况-Java producers and consumers of the simulator, the core code is done with thread, to reflect the status of the thread mutex synchronization
java_threaddemo
- 哲学家就餐是一个经典的Java多线程编程的实例,这是图形版。涉及到线程同步与互斥,临界区访问问题以及避免死锁的方法。 -Dining philosophers is a classic multi-threaded Java programming examples, this is the graphics version. Related to thread synchronization and mutual exclusion, critical area to visit, as we
SemaDemo
- 英国帝国理工学院电脑系多线程课程教学材料之四 ---- 用Semaphores互斥访问-The program uses a semaphore to ensure that it is not possible for threads to enter their critical sections at the same time. The critical section is represented by a light blue (cyan) colour. To execute in
ReaderAndWriter
- 本程序主要用于说明阅读者写入者问题中的资源互斥访问的调动策略,并模仿其访问的过程-This procedure used mainly for the reader to write notes in question are mutually exclusive visit to the resource mobilization strategy, and to imitate the course of his visit
TestSyn1
- //TestSyn的解决方法即将线程执行时锁住,不允许其他的线程操作 //锁定的意义在于在使用线程的过程中不会让其它线程使用,互斥锁-//TestSyn solutions implementation is about to lock the thread, the thread does not allow other operations// lock the significance of the use of threads in the process will not let
java_threaddemo
- 哲学家就餐是一个经典的Java多线程编程的实例,这是图形版。涉及到线程同步与互斥,临界区访问问题以及避免死锁的方法。 -Dining Philosophers is a classic example of Java multi-threaded programming, it is graphic version. Related to thread synchronization and mutual exclusion, critical access issues and ways to
process
- 利用JAVA将进程(读过程和写过程)互斥实现,源代码,-Using JAVA to process (read process and write process) mutex implementation, source code,
producerANDconsumer
- 操作系统经典实验,模拟生产者消费者问题,采用java语言编写,互斥同步-OS classic experiment, simulation producer consumer issues, using java language, mutual exclusion synchronization
duzheyuxizhe
- 读者-写者问题的读写操作限制(包括读者优先和写者优先) 1) 写-写互斥:不能有两个写者同时进行写操作 2) 读-写互斥:不能同时有一个线程在读,而另一个线程在写。 3) 读-读允许:可以有一个或多个读者在读。 读者优先的附加限制:如果读者申请进行读操作时已有另一个读者正在进行读操作,则该读者可直接开始读操作。 写者优先的附加限制:如果一个读者申请进行读操作时已有另一个写者在等待访问共享资源,则该读者必须等到没有写者处于等待状态后才能开始读操作。 运行结果显示要求:要求在
producerConsumer
- 生产者消费者问题,主要实现同步与互斥的问题-producerconsumer
ProducerConsumer
- 分析进程的同步与互斥现象,编程实现经典的进程同步问题——生产者消费者问题的java模拟 -Producer and Consumer
CROSS
- 多线程过桥,解决多个人过桥问题,同步或互斥-Multi-threading across the bridge, cross the bridge more than one person to solve the problem, synchronization or mutual exclusion
BankSystem
- 银行管理系统,存入,取出,同步互斥等问题-Bank management system, deposit, remove, synchronization and other issues mutually exclusive