搜索资源列表
ThreadSync01
- 当你在程序中使用多线程时,这经常会用到,而且这些线程需要同时访问同一个资源时,这个可能性很大,这时候你就需要用到线程同步技术。有些线程以只读方式访问资源,我们叫它ReadThread,而有些线程却需要对资源进行写入,我们叫它WriteThread,我们暂时先这样称呼。如果一个线程对资源的访问是读写方式,我们把它看作是WriteThread。 -when you process multiple threads, which are
Java Thread Programming
- java线程编程一书的源代码。供学习java多线程的朋友参考学习-threaded a book source. Java Learning for multithreading friends Reference Learning
ProgressThreadTest
- 最简单的用工作线程控制有进程条的窗口,主窗口调用后,调用工作线程,并显示模式对话框,并可控制线程的进展——在对话框上有pause和stop按钮-most simple thread work with a process control of the window, the main window to call after call work thread, and displays the dialog, can control t
AnimateDraw
- 一个在EVC下写的动画显示程序,不同于GIF动画,不需要开线程-under a written procedure animated show, unlike GIF animation, no open thread
TextEditor1
- 具有可以输入文字,画线、圆等功能,且可改变字型,大小,颜色,线型,线宽,线色等-have to be imported into text, line drawing, round functions, which can change the font, size, color, pattern and width, thread color, etc.
WINDOWS_Spreadsheet
- 采用WIN32和DDK实现的W2000的线程池机制.可以预先创建多个线程,维护由系统自动完成.-use WIN32 and DDK the W2000 to achieve the thread pool mechanism. Advance create multiple threads, preserving completed by the system automatically.
用ftp协议完成多线程断点续传的源码
- 各个线程任务分配是这样实现的。在开始下载时,文件平均分成若干块进行下载。如第一个线程一开始的任务是从文件的0位置开始下载一直到72908位置处。线程1每次下载一块数据后就要调整任务,如第一次下载了20800字节的数据,那么线程1的任务将改为:20800-72908。如此下去,直到任务为72908-72908时表示线程1完成了当前的下载任务。此时,线程1就分析各个线程的任务,找出任务最为繁忙的一个线程:如线程3:14816-218724
一个用socket来实现HTTP下载的程序源码
- 本文附带源代码还包括了一个使用CHttpSocket实现下载功能的例子工程.注意,所有的调用都是阻塞的,所以最好为一个下载任务创建一个线程,否则会导致界面无法响应用户输入. 程序运行界面如上图,显示了请求头,回应头以及下载进度.-fringe source code is also included use of a functional CHttpSocket download the example works. Attentio
ListOperate
- 该程序运用线程的思想来操作一个链表,对链表的动作有增加和删除。增加节点和删除节点分别在两个线程里,这两个线程通过事件来进行同步,每次增加10个节点、删除5个节点。-use of the program's ideological threads to operate a chain and the right Chain movements had increased and removal. Additional nodes
Philosopher(new)
- 这是一道经典的线程同步问题——哲学家吃饭问题。这里结合了win32使得这个问题可视化了-This is a classic thread synchronization -- philosopher food problem. Win32 here combination of this makes the issue of visualization
VC界面编程高级应用技术
- 用户界面线程,登陆界面 界面皮肤,vc界面控件,vc启动界面,vc界面设置,skinmagic界面 用VC实现象QQ好友上线和MSN上好上线效果的信息提示框 -user interface thread, landing interface interface skin, vc interface controls, vc activated interface, vc interface settings, skinmagic i
threadpool_doc
- 多线程编程中线程池的完整实现方案,线程池通过接口的方式,线程完成的任务可由自己实现。-thread pool to achieve the integrity of the program, thread pool through the interface, threaded completed their tasks could be achieved.
threadpool_src
- 多线程编程中线程池的完整实现方案,线程池通过接口的方式,线程完成的任务可由自己实现。-thread pool to achieve the integrity of the program, thread pool through the interface, threaded completed their tasks could be achieved.
OpenCvViewImage
- A module that allows a programmer to display an iplImage at any point of time regardless of its depth or number of channels. The image is viewed in a separate thread in a separate window and supports channel-by-channel v
fy
- 基于RMI的学生成绩管理程序,实现了线程,事件模型.-based RMI student performance management process to achieve a thread, event model.
kecsj_java
- JAVA课程设计!用线程来实现比较查找、排序算法的运行时间,第一部分是将顺序查找、折半查找算法设计成线程并同时运行来比较两种查找算法,第二部分是将冒泡排序、快速排序及选择排序设计成线程并同时运行来比较三种排序算法。本程序使用流行的GUI界面设计。-Java curriculum design! Using thread to achieve more search, algorithm running time, the first p
例7.03 线程sleep
- 线程sleep对初学者是一个较好的工具-thread sleep for beginners is a good tool!
另类java计算器
- 一个用java编写的计算器,希望能个java爱好者们带来一丝启发,帮助!-prepared with a calculator, hoping 000 java lovers thread of inspiration, help!
这是一个关于银行存取款的程序。
- 这是一个关于银行存取款的程序。 包括存款,取款,兑换不同货币,察看当前账户信息等操作。 调试环境 javaSDK1.3.1 操作系统 window2000 程序结构: Bank: 银行包括各种关于银行业务的操作。 Account: 账户信息。 Customer:顾客对象,每个顾客为一个线程。 Money: 货币的抽象基类。 Rate: 汇率 。 RMB: 人民币。 USD: 美元。暂时包括一种
shenchanxiaofei
- 实现多线程通信,生产这与消费者问题在次的到解决。-multi-thread communication, and production of these consumer issues in the time to solve.