搜索资源列表
reader_writer_p_v_operate
- 操作系统课内实验部分,用java实现,读者写着互斥与同步-operating system reverse experiment, using java realized, the reader wrote mutex and Synchronization
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
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
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
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
a4
- the mutual exclussion through a Mesa style monitor implemented using mutex and condition variables in C
process
- 利用JAVA将进程(读过程和写过程)互斥实现,源代码,-Using JAVA to process (read process and write process) mutex implementation, source code,
JVM-thread-synchronizzation
- jvm 线程同步机制 详解. 学习java虚拟机必须掌握的资料.-jvm thread synchronize and mutex and corporation.
Javaproducer-Consumer
- java实现生产者消费者的过程,两个线程对一个互斥锁的资源访问,从而实现同步与互斥-java implementation of the process of producers and consumers, two threads of a mutex resource access, in order to achieve synchronization and mutual exclusion
AbstractQueuedLongSynchronizerTest
- A simple mutex class, adapted from the AbstractQueuedLongSynchronizer javadoc for Andriod.
time
- 用时间片轮转算法的进程调度程序,可以在界面设定的互斥资源(包括两种:输入设备与输出设备)的数目,进程数、进入内存时间、要求服务时间可以在界面上进行设定.采用可视化界面,可在进程调度过程中随时暂停调度,查看当前进程的状态以及相应的阻塞队列.-With a round-robin algorithm process scheduler, you can set the interface mutex resources (including two types: input devices and
JingCheng-Communications
- 1、 点“创建线程” 按钮,创建两个线程,一个线程不断对一个变量加1,结果显示在第一个文本框中。另一个线程不断对另一个变量减1,结果显示在第二个文本框中。这两个线程之间没有交互,仅用于演示线程的创建。 2、 演示线程互斥,点“线程互斥” 按钮,创建两个线程,一个线程不断循环,每次循环对共享变量x做100次加1操作(这100次加1操作作为一个临界区CSa),另一个线程不断循环,每次循环对共享变量x做100次减1操作(这100次减1操作作为一个临界区CSb),结果显示在第三个文本框中。可以看到结
Thread-Communications
- 1、 点“创建线程” 按钮,创建两个线程,一个线程不断对一个变量加1,结果显示在第一个文本框中。另一个线程不断对另一个变量减1,结果显示在第二个文本框中。这两个线程之间没有交互,仅用于演示线程的创建。 2、 演示线程互斥,点“线程互斥” 按钮,创建两个线程,一个线程不断循环,每次循环对共享变量x做100次加1操作(这100次加1操作作为一个临界区CSa),另一个线程不断循环,每次循环对共享变量x做100次减1操作(这100次减1操作作为一个临界区CSb),结果显示在第三个文本框中。可以看到结
jthreadsynch
- Java线程间同步互斥,在实际的编程中,经常要处理线程间的同步互斥问题。Java 语言内在强大的多线程支持使得处理这类问题变得相对来说比较简单。本例将模仿经典的线程同步互斥例子——生产者和消费者问题,来演示 java 强大的多线程机制。生产者和消费者共享一个数据,当数据为0 时,消费者不可访问,生产者可访问数据,每次访问数据加1;当数据到达100 时,生产者唤醒消费者,同时自身不可访问数据,消费者可访问数据,每次访问数据减1,直到数据为0,消费者唤醒生产者,同时自身不可访问数据,如此循
Java-xianchengtongbuhuchi
- Java线程间同步互斥,在实际的编程中,经常要处理线程间的同步互斥问题。Java 语言内在强大的多线程支持使得处理这类问题变得相对来说比较简单。本例将模仿经典的线程同步互斥例子——生产者和消费者问题,来演示 java 强大的多线程机制。生产者和消费者共享一个数据,当数据为0 时,消费者不可访问,生产者可访问数据,每次访问数据加1;当数据到达100 时,生产者唤醒消费者,同时自身不可访问数据,消费者可访问数据,每次访问数据减1,直到数据为0,消费者唤醒生产者,同时自身不可访问数据,如此循
DeadLock
- 实现了死锁 正在学习进程同步的可以看一下 就知道什么是互斥锁了-Deadlocks are learning to achieve a synchronization process can see, we know what is the mutex
ATMCashMachines
- 线程同步和互斥 ATM存取一体机(线程同步互斥)-Thread synchronization and access exclusive ATM machine (thread synchronization mutex)
线程-Java
- 实现多线程 互斥锁 线程池 线程同步利用Java实现(Achieve multi-threaded mutex sewing thread pool)