搜索资源列表
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
JavaRaceinSemaphore
- CAR Rac eImplementation-Usage of Semaphore
javafr_APPLICATION-SEMAPHORE-RESOLUTION-PROBLEME-
- application du sémaphore
Semaphores
- Semaphore source simple application
semaphore
- 带栅栏的信号量测试,共有四个java文件,在testbarirr中测试-The amount of test signals with the fence, a total of four java files, testbarirr test
semaphoretest
- 该代码是用JAVA编写的“信号量”问题,用于实现线程的同步-The code is written JAVA, " semaphore" problem, used to implement thread synchronization
Process-scheduling-to-achieve
- 本程序运用java语言模拟线程间的调度,在原随机调度的基础上实现轮转调度,优先级调度,处理各线程间的调度关系,并试着用信号量实现线程的锁定和释放。-This program threads using java language simulation scheduling, dispatching the former on the basis of random rotation scheduling, priority scheduling, process scheduling of th
ProductTest
- 编写生产者和消费者的问题,使用信号量机制。-The problem of producers and consumers prepared to use semaphore mechanism.
traffic1
- 模拟实现十字路口的交通灯管理系统逻辑,具体需求如下: 1、异步随机生成按照各个路线行驶的车辆。 例如: 由南向而来去往北向的车辆---- 直行车辆 由西向而来去往南向的车辆---- 右转车辆 由东向而来去往南向的车辆---- 左转车辆 。。。 2、 信号灯忽略黄灯,只考虑红灯和绿灯。 ·3、应考虑左转车辆控制信号灯,右转车辆不受信号灯控制。 ·4、具体信号灯控制逻辑与现实生活中普通交通灯控制逻辑相同,不考虑特殊情况下的控制逻辑。
ReaderWriter
- Java多线程读者写者程序。程序先从txt文本中读取读者写者信息,1 R 3 5为例,1为线程序号,R表示读者,3表示申请操作的时间(秒为单位),5表示操作持续的时间。运行后先选择读者/写者优先,之后按照文本中的描述建立线程,采用信号量机制处理互斥访问。-Readers who write multi-threaded Java programs. Txt program text reads the reader to start writing Information, 1 R 3 5, f
tp-piscin.java
- This code is about "semaphore"-This code is about "semaphore"
Semaphores
- 用Semaphores解决JAVA生产者消费者问题-Using Semaphore to solve the producer and consumer Question
E2
- JAVA用Semaphore解决多线程矩阵运算-using Semaphore to solve matrix calculation
5_DiningPhilosophers_w_G
- java semaphore 实例, 包括java scr ipt, 著名的5个哲学家的案例-5 philosopher java semaphore example
JTable
- 利用ATM取钱问题来模拟操作系统中临界资源信号量的同步与互斥问题-ATM withdrawals using the issue to simulate the critical resources of the operating system semaphore synchronization and mutual exclusion problems
BarberSleep
- 理发店里有一位理发师,一把理发椅和 N 把供等候理发的顾客坐的椅子 如果没有顾客,则理发师便在理发椅上睡觉。当一个顾客到来时,他必须先唤醒理发师。如果顾客到来时理发师正在理发,则如果有空椅子,可坐下来等;否 则离开。操作系统信号量控制进程同步。-Barbershop, a hairdresser, a barber chair and N customer sat waiting Barber chair if no customers, the barber would sleep in th
gsmgisdemo
- 基与google map v3 api编写的移动基站信号量格网显示的专题图及KML图层的导入功能。-Base with google map V3 API to write the mobile base station semaphore grid thematic maps and KML layer import feature.
Semaphore
- a particularly efficient data structure just for demo. -a particularly efficient data structure just for demo.
Barbershop
- 操作系统概念第六版信号量课后习题,Barbershop的多线程编码-Operating System Concepts sixth edition Semaphore of the book exercise, babershop problem, java multithreading semaphore issues
JavaApplication4
- This code implement semaphore, using 2 proccess, which first is write string consanant values to txt-file, second read txt-file-This code implement semaphore, using 2 proccess, which first is write string consanant values to txt-file, second read t