搜索资源列表
2004122810505681
- Java线程,Hanoi塔演示,初学者学习用
JuristsEatingProblem(graphicsversion)
- 学家就餐问题(图形版),此程序演示了Java多线程同步的概念,形象生动!-Jurists eating problem (graphics version), the Java program to demonstrate the concept of simultaneous multithreading, a vivid image!
Multithreading
- JAVA多线程C/S结构的演示,多线程客户端.-JAVA multi-threaded C/S structure of the presentation, multi-threaded client.
hainot
- 一个简单的汉诺塔实现演示程序。主要练习线程。-The Tower of Hanoi with a simple demo program. Main practice thread.
FrameThread
- 附件中的代码使用java语言演示了线程的创建以及使用,其中还结合了javaGUI开发的简单应用。-Attachments using java language code demonstrates the creation and use of the thread, which also combines javaGUI simple application development.
czxt
- 此程序是操作系统中生产者-消费者问题的一个演示程序,也是JAVA种多线程的一个程序,采用SWT编写的界面-This program is the operating system producer- consumer issues, a presentation program, but also multi-threaded JAVA kind of a program written using SWT interface
HorseTravel
- 程序是数据结构中马踏棋盘的一种改进方法,并且用多线程方法实现过程演示,界面采用SWT编程。-Horse program is a data structure of an improved method of riding the board, and method of using multi-threaded implementation process demonstrates, the interface using SWT programming.
ThreadDemo
- Java实现多线程计算的示例演示,本人亲测可用-Java multi-threaded calculation example shows, I pro-test available
virtual-memory
- 用java编程模拟虚拟存储器功能,可以模拟演示FIFO页面置换算法:LRU页面置换算法:以及最佳页面置换算法 的运行过程 程序采用了多线程技术,使得运行过程更人性化-Java programming with simulated virtual memory function, can simulate the FIFO page replacement algorithm demo: LRU page replacement algorithm: the best page replac
HareTortoiseRace
- 为了理解多线程,演示的龟兔赛跑的程序,兔子的速度是乌龟的3倍-In order to understand the multi-threaded demo program of the tortoise and the hare, rabbit three times the speed of a tortoise
rolling-words
- 设计滚动字演示线程状态及改变方法。该程序通过滚动字演示了线程各个状态之间的转化-The design rolling the word demo thread state and change the method. The program demonstrates the conversion between the respective states of the threads by scrolling word
bankrole
- 银行排队叫号系统演示开发环境为microsoft visual studio 2005 多线程并行开发 C++窗体应用程序 有mfc基础和vb基础理解-Bank call queuing system demo development environment for microsoft visual studio 2005 multithreaded parallel development C++ Forms application the mfc foundation vb bas
philosopher
- 哲学家就餐问题是在计算机科学中的一个经典问题,用来演示在并行计算中多线程同步(Synchronization)时产生的问题。-Dining Philosophers problem is a classic computer science problem, used to demonstrate multi-thread synchronization in parallel computing (Synchronization) problems arising.
voice
- 基于三汇语音卡的语音通知系统,java版多线程状态机代码,三汇提供的演示包中无java版示例-Voice card based on three sinks voice notification system, java version multithreaded state machine code, three sinks demo package provided no examples of java version
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,消费者唤醒生产者,同时自身不可访问数据,如此循
jthreadmace
- Java线程优先级示例-赛马,Java 虚拟机在调度各线程运行时,并非每个线程的运行机会相同,调度机制根据各线程的优先级调度各线程。因而,优先级高的线程获得的运行时间就多,优先级低的线程获得的运行时间就少。 本例演示了不同优先级的线程在完成同一个任务时的不同进度,来验证上面的结论。高优先级的线程获得运行的机会多。同时开始的两个不同优先级的线程,在做同一个任务时的不同进度。-Java thread priority example- horse racing, Java virtual
Java-xianchengtongbuhuchi
- Java线程间同步互斥,在实际的编程中,经常要处理线程间的同步互斥问题。Java 语言内在强大的多线程支持使得处理这类问题变得相对来说比较简单。本例将模仿经典的线程同步互斥例子——生产者和消费者问题,来演示 java 强大的多线程机制。生产者和消费者共享一个数据,当数据为0 时,消费者不可访问,生产者可访问数据,每次访问数据加1;当数据到达100 时,生产者唤醒消费者,同时自身不可访问数据,消费者可访问数据,每次访问数据减1,直到数据为0,消费者唤醒生产者,同时自身不可访问数据,如此循
MultiThreadServer
- 用于演示服务器器多线程的做法,用socket编程,其中只是数据的传输。比较简单-Practices for Presentation Server is multi-threaded, with socket programming, which is the transmission of data. Relatively simple