搜索资源列表
2_Memory
- 内存管理实验程序。 要求 : 使用 Windows XP的 API 函数,编写一个包含两个线程的进程,一个线程用于模拟内存 分配活动,一个线程用于跟踪第一个线程的内存行为,而且要求两个线程之间通过信号量实 现同步。模拟内存活动的线程可以从一个文件中读出要进行的内存操作,每个内存操作包括 如下内容: 1、时间:操作等待时间。 2、块数:分配内存的粒度。 3、操作:包括保留(reserve)一个区域、
FIFOserver
- prg8_1.c 互斥对象实例。该程序说明如何使用互斥对象。prg8_2.c 条件变量实例。该程序是一个多线程的无连接并发服务器。prg8_3.c 处理同步线程退出。-prg8_1.c mutex object instance. The program explains how to use the mutex object. Examples of conditions prg8_2.c variables. The program
Code
- 多线程程序的编写,多线程应用中容易出现的问题。互斥对象的讲解,如何使用互斥对象来实现多线程的同步。如何利用命名互斥对象保证应用程序只有一个实例运行。应用多线程编写网络聊天室程序。-Lesson Of Severl Work
create_a_thread_under_linux
- 简单的介绍线程的创建和基本的使用,关于线程的高级使用(如线程的属性,线程的互斥,线程的同步等等问题)可以参考我后面给出的资料. -Brief basic thread creation and use, on the high-level use of thread (such as the attributes of threads, thread the mutex, thread synchronization and so on
Fund7MultiThread
- 一个工程,主线程负责用户交互,界面上提供一个按钮,通过它用户建立一个新的线程处理复杂的计算。多个线程可以共享内存中的某些变量。线程可以中止,挂起。线程间需要同步。-A project, the main thread is responsible for user interaction, provide a button interface through which users create a new thread to hand
appplet
- 在使用声音文件的时候,特地引用了一个媒体文件,是JDK本身没有的,程序不安装JMF是无法听到声音的。之后,在线程应用上,建立两个相应的线程就可以完成任务了。在效果上能够让人感觉到是同步进行,但应当实际理解为程序的运行是线性的,在单CPU上是不可能出现并行的。-At a time when the use of sound files, specifically citing a media file, the JDK does not,
procon
- 生产者消费者同步问题,用于模拟都线程的并行与互斥-Producer consumer synchronization, threads are used to simulate parallel and mutually exclusive
Code
- 多线程程序的编写,多线程应用中容易出现的问题。互斥对象的讲解,如何使用互斥对象来实现多线程的同步。如何利用命名互斥对象保证应用程序只有一个实例运行。应用多线程编写网络聊天室程序。-Procedures for the preparation of multi-threaded, multi-threaded applications easily arise. Mutex on the object, how to use the mu
counter
- 使用临界区机制同步线程,假如一个银行系统有两个线程执行取款任务。一个使用存折在柜台取款,一个使用银行卡在ATM取款。若不加控制,很可能账户余额不足于两次取款的总额,但还可以把钱取走。-Critical mechanism for the use of thread synchronization, if a banking system there are two threads to implement task teller. A
ABAB
- 线程对数据的同步操作与用消息来控制线程的正常结束。有文档说明怎么实现的-Thread synchronization of data and using information to control the normal end of the thread. Have documented how to achieve the
readerwriter
- 通过读者与写者(写者优先)的模型,模拟线程及其同步机制-Through the reader and writer (written preferred) model to simulate the threads and synchronization mechanisms
tongbu1
- 使用全局变量同步线程的简单例子,是多核编程书上的一个例子,欢迎查看-The use of global variables of a simple example of thread synchronization, multi-core programming is an example of the book, please see
tongbu2
- 使用事件机制同步线程的简单例子,基于eclipse for C++实现,有注释,欢迎查看-Thread synchronization mechanism to use the events of a simple example, based on the eclipse for C++ to achieve, it notes, please see
tongbu3
- 使用临界区机制同步线程,基于eclipse for C++实现,欢迎查看-Critical mechanism for the use of thread synchronization, based on the eclipse for C++ to achieve, please see
TCPIP_Communication
- 利用多线程机制实现TCP/IP的简单通信,支持客户端与服务器端的同步通信。-Mechanisms using multi-threaded TCP/IP for simple communication, to support the client and server-side synchronous communication.
LsCommDemo
- LsComm就一个多线程同进接收串口信息的类库,本示例向大家展示如何使用它。示例实现了一个简洁易用的多线程串行通讯接口,可以以切换查询和自动接收两种模式进行对串口数据收发。实现选择串口、选择接收模式、发送数据、同步接收数据、异步接收数据等。-LsComm on a multi-threaded serial port to receive the same information into the library, the exampl
multitreadsrc
- 十个多线程的开发实例,讲解了如何创建线程,以及如何实现同步-The development of more than 10 examples of thread, on how to create threads, as well as how to achieve synchronization
Thread
- 线程的应用,基本的线程及其方法的调用,进程同步的应用-Threaded applications, the basic method of the thread and calls the application process synchronization
VCcom
- 串口的操作可以有两种操作方式:同步操作方式和重叠操作方式(又称为异步操作方式)。同步操作时,API函数会阻塞直到操作完成以后才能返回(在多线程方式中,虽然不会阻塞主线程,但是仍然会阻塞监听线程);而重叠操作方式,API函数会立即返回,操作在后台进行,避免线程的阻塞。 个类的基类。 该MFC参考通常不描述通过继承的函数或操作符。若要寻求这些函数的信息,请参阅类层次结构图中该类的基类信息。 每个类的说明文档包括:该类的概括、类
CsModel
- 运用多线程的C/S模型 所用到的同步机制,值得学习-The use of multi-threaded C/S model synchronization mechanism used, it is worth learning