搜索资源列表
Synchronize
- 使用Java语言实现线程间的同步,并给出相应的示例-Using the Java language to achieve synchronization among threads, and gives a corresponding example
thread
- 一些java多线程的应用,包括后台处理方法,进程同步等学习源码,是自己编写的,可以运行-Some of the java multi-threaded applications, including background processing, process synchronization, the learning source, write your own, you can run
synchronized
- 研究JAVA线程的同步机制的好资料,这个实验做完基本上就通了-JAVA thread synchronization mechanism of good information, this experiment was done basically through
thread
- 完成一个JAVA多线程的小程序,实现父线程和子线程之间的调度和同步-Completion of a multi-threaded JAVA applet,Between the parent thread and child thread scheduling and synchronization
p-and-c
- 线程管理中的生产者消费者问题,主要是描述线程管理中生产者与消费者在共享资源时是否同步与互斥问题-Producers and consumers in the thread management, describes the thread management of producers and consumers, whether in the shared resource synchronization and mutual exclusion
Thread-Synchronization
- Java线程实现同步机制(生产者消费者问题),即生产者和消费者可以同时生产和消费商品,缓冲区中没有商品时,消费者需等待;缓冲区满时,生产者需等待。-Java code implements the issue of producer and customer with mutiple threads.
MyATM
- 运用socket实现数据通讯,运用多线程实行数据同步,JAVA SWING实现界面显示效果。JAVA SE入门级项目-The use of socket data communication, the use of multi-threaded implementation of data synchronization, JAVA SWING interface display. JAVA SE entry-level project
she1
- 使用线程完成贪吃蛇的小游戏功能,用的swing界面,主要学习线程的同步问题-Thread to complete the Snake game with swing interface, the main learning thread synchronization issues
SaleTicket
- 通过多线程的同步于互斥,模拟售票,一个窗口售票,多个买票者购票,票数设为50 主要是利用线程间的同步于互斥 -failed to translate
wzq
- 基于Java环境下的网络五子棋游戏开发,使用JAVA语言实现,通过对图形界面,绘图,布局管理器等去构造出游戏的单机功能,在此基础上,利用SCOKET的知识,建立起服务器与客户端之间的连接,利用多线程技术来处理服务器端与客户端之间的数据传输,通信问题,使得客户端和服务器端之间能够同步的进行处理。-Web-based Java backgammon game development environment, using JAVA language, through the graphical int
ThreadCreate
- 例子中包含了两种创建线程的方法:一种是创建用户自己的线程子类,另一种是在用户自己的类中实现Runable接口。线程优先级以及同步。 -Two examples are included to create threads: one is to create your own thread subclass, the other is a user interface to achieve Runable own class. Thread priority and synchronizati
CHATROOM
- 摘要:Java源码,网络相关,聊天程序 一个Java聊天程序服务端和客户端程序,C/S结构,ChatServer 类实现了一个聊天室服务器端, 此类有一个构造器, 在构造器中使用newServerSocket()建立一个Socket 连接。RunServer()方法中运行聊天服务,通过Socket 类的getInetAddress().getHostName() 方法获得主机名, 建立新的ChatHandler 对象实例, 在synchronized (clients)中取得与客户端的同步。
SingleBridge
- 模拟双向多人过独木桥的多线程程序,在多线程中采用内置锁处理各线程之间的同步问题-several persons want to go through the only single bridge
synchronizedTest
- 通过一个多线程抢票的例子。来模拟多线程的同步。简单,通俗易懂-By way of example a multithreaded grab votes. To simulate multi-thread synchronization. Simple, easy to understand
ThreadCommuncation
- Java中线程通信学习要点及源码练习,ResourceDemo学习线程通信,ResourceDemo2学习等待、唤醒机制,ResourceDemo3学习同步机制和代码优化,ProcusDemo学习线程中的一些问题,ProCusDemo2学习java1.5后中的问题解决办法,StopThreadDemo学习停止线程,最后ThreadTest测试一下所学内容。-Java s thread communication learning point and source code.ResourceDem
multithread_codes_java_eclipse
- 这是好几个java多线程的学习程序,主要测试多线程的同步,join,以及实现多线程的两种方法(继承Thread类,实现runnable接口),代码完全正确,但是仅仅适用于多线程的初学者,用于学习,不用于具体工程-This is a few java multi-threaded learning procedures, the main test multi-threaded synchronization, join, and the realization of multi-threaded