搜索资源列表
moon
- java写的多线程,包括绘图,实现月亮的升起降落,还有画了两颗星星闪烁-java to write multi-threaded, including drawing, the rising of the moon landing to achieve, as well as painting the two stars twinkling
多线程代码和敏捷流程讲述
- 主要是项目的敏捷开发和多线程代码,线程并发设计线程同步,敏捷开发是项目的主流过程,是一个软件系统维护和管理的基本方法(Multi-threaded and agile development)
qfxThreadTest
- 线程测试类,可以对线程有个初步的了解,适用于小白新手(Thread test class, you can have a preliminary understanding of the thread, apply to small white novice)
java对大数据量文件内容的多线程读取和排序
- 编写一个java多线程程序,用于文件内容的读取和排序。(Write a Java multi-threaded program for reading and sorting the contents of the file.)
NettyServer缓存到队列由单独线程处理
- NettyServer收取数据存库缓存到队列由单独线程处理(NettyServer receives data storage, caches to queues, and is handled by separate threads)
新建文件夹
- 对于线程的简单概括以及基于线程的开发样例(A simple summary of threads and thread based development examples)
java线程
- 这也是有关Java面向对象的一些例子,是有关线程知识的代码(It has some examples abouts java object-oriented.I hope these can help some people.)
thread
- 创建大小为1的固定线程池,同时执行任务(task)的只有一个,其它的(任务)task都放在LinkedBlockingQueue中排队等待执行。(Create a fixed thread pool of size 1, while only one task (task) is executed, and the other tasks (task) are queued in LinkedBlockingQueue for execution.)
downFiles
- 用java开发的,连接阿里的OSS存储中心,通过多线程的方式进行快速下载大量数据的一款桌面应用程序(Using java to develop, connect Ali's OSS storage center, through a multi-threaded way to quickly download a large amount of data of a desktop application)
day17
- java多线程操作入门,有详细编程代码和说明,测试类等(Java multithreaded operation of the entry, detailed programming code and instructions, test class, etc.)
多线程调度——哲学家就餐
- 利用JAVA线程,解决哲学家就餐问题。当某一哲学家线程执行取得筷子方法时, 程序会根据该线程的名称来确定该线程需要使用哪两支筷子,并且分辨出哪支筷子编号是奇数,按照先奇后偶的顺序来试图取得这两支筷子。 如果这两支筷子都未被使用(即对应的数组元素值为 false),该哲学家线程即可先后取得这两支筷子进餐,否则会在竞争某支筷子失 败后执行 wait()操作进入 Chopsticks 类实例的等待区, 直到其他的哲学家线程进餐完毕放下筷子时用 notifyAll()将其唤醒。当某一哲学家线程放下筷子时
MThread
- 用Math类中的随机函数产生10000个0~999范围的随机数并存于数组。从键盘接收一个0~999的数x,然后用5-8个线程并发查找x的所有下标位置(The random numbers of 10000 0~999 ranges are produced by using random functions in the Math class to coexist in the array. Receive a number of 0~999 from the keyboard, x, and
线程死锁示例
- 这是基于java语言编程的一个关于线程死锁问题的小Demo,运用DeadLock来解决线程中可能出现的死锁问题
newsThread
- Java例子1,如何实现多线程操作的程序代码(Java example 1, how to implement the program code for multithreaded operations)
thread
- Android移动应用开发,长时间工作另启一个线程(Android mobile application development, long time work and another thread)
Java-chat
- 实现多线程聊天室,采用服务器客户端模式,进行服务器-客户端通讯,客户端-客户端通讯(Multi thread chat room)
hy
- 基于tcp/IP的聊天室设计 java多线程编程 可实现群聊私聊等功能(Chat room based on tcp/IP Design Java multi thread programming can achieve group chat and other functions)
DownTheradsUitl
- 自己写的Java多线程下载类,可以自己定义下载线程,自己定义下载目录,带断点续传(Write multi-threaded Java download, you can define their own download thread, define your own download directory, with http)
实现多线程Java程序
- 编写一个Java程序,实现多线程,在线程中输出线程的名字,隔300毫秒输出一次,共输出20次。