资源列表

« 1 2 ... .80 .81 .82 .83 .84 10985.86 .87 .88 .89 .90 ... 14331 »

[JSP源码/JavaJavaThreadDemo

说明:英国帝国理工学院电脑系JAVA多线程教学材料之一 ---- 简单的线程控制。-Demonstrates concurrent execution of multiple threads.
<Key> 在 2025-06-02 上传 | 大小:2kb | 下载:0

[JSP源码/JavaCarPark

说明:英国帝国理工学院电脑系多线程课程教学材料之三 ---- 停车场问题-The carpark holds a maximum of four cars. Further arrivals are blocked when the carpark is full.
<Key> 在 2025-06-02 上传 | 大小:2kb | 下载:0

[JSP源码/JavaSemaDemo

说明:英国帝国理工学院电脑系多线程课程教学材料之四 ---- 用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 blu
<Key> 在 2025-06-02 上传 | 大小:3kb | 下载:0

[JSP源码/JavaBuffer

说明:英国帝国理工学院电脑系多线程课程教学材料之五 ---- 有限缓冲区范例-The program uses a bounded buffer monitor into which the Producer thread puts characters and from which the Consumer thread gets characters. The Consumer runs slightly faster than the
<Key> 在 2025-06-02 上传 | 大小:3kb | 下载:0

[JSP源码/JavaNestedMonitor

说明:英国帝国理工学院电脑系多线程课程教学材料之六 ---- 嵌套监督程序范例-This version of the bounded buffer monitor uses semaphores instead of Java conditional synchronization. Can you get it to deadlock?
<Key> 在 2025-06-02 上传 | 大小:1kb | 下载:0

[JSP源码/JavaFixedNestedMonitor

说明:英国帝国理工学院电脑系多线程课程教学材料之七 ---- 嵌套监督程序范例(改正版)-This version of the bounded buffer monitor uses semaphores. In this version, the deadlock has been fixed.
<Key> 在 2025-06-02 上传 | 大小:1kb | 下载:0

[JSP源码/JavaDining_Philosophers

说明:英国帝国理工学院电脑系多线程课程教学材料之八 ---- 哲学家晚餐范例-Five philosophers sit around a circular table. Each philosopher spends his life alternatively thinking and eating. In the centre of the table is a large plate of spaghetti. A philosoph
<Key> 在 2025-06-02 上传 | 大小:3kb | 下载:0

[JSP源码/JavaFixed_Dining_Philosophers

说明:英国帝国理工学院电脑系多线程课程教学材料之九 ---- 哲学家晚餐范例(无死锁,需要引用到原问题的部分代码)-The version avoids the possibility of deadlock by making even numbered philosophers pick up the chopsticks in a different order from the rest. That is, left first ra
<Key> 在 2025-06-02 上传 | 大小:1kb | 下载:0

[JSP源码/JavaBridge

说明:英国帝国理工学院电脑系多线程课程教学材料之十 ---- 单行道范例-Cars cannot pass each other on the bridge. The buttons set the number of cars moving in each direction. The default is one blue car and one red car. Try two and three. The safe checkbox,
<Key> 在 2025-06-02 上传 | 大小:4kb | 下载:0

[JSP源码/JavaReadersWriters

说明:英国帝国理工学院电脑系多线程课程教学材料之十一 ---- 读取者与写入者范例-The program allows Readers concurrent access to a resource while restricting Writers to exclusive access. Thread access to the shared resource is depicted by a light blue (cyan) arc
<Key> 在 2025-06-02 上传 | 大小:5kb | 下载:0

[JSP源码/JavaReadWritePriority

说明:英国帝国理工学院电脑系多线程课程教学材料之十二 ---- 读取者与写入者范例(starvation修正版)-This version gives priority to Writers by making Readers defer to waiting Reader threads. Consequently, Writers do not starve, however, giving Writers priority means
<Key> 在 2025-06-02 上传 | 大小:5kb | 下载:0

[JSP源码/JavaReadWriteFair

说明:英国帝国理工学院电脑系多线程课程教学材料之十三 ---- 读取者与写入者范例(读取和写入公平版本)-This version implements a strategy in which a Writer make waiting Readers runnable after it releases the write lock.
<Key> 在 2025-06-02 上传 | 大小:5kb | 下载:0
« 1 2 ... .80 .81 .82 .83 .84 10985.86 .87 .88 .89 .90 ... 14331 »

源码中国 www.ymcn.org