搜索资源列表
Mutex
- 一个互斥对象的应用,多线程保存同步的时候需要使用的代码-A mutex application, multi-thread synchronization to save when you need to use the code
ThreadCMutex
- 控制台程序中CMutex简单使用实例。创建两个线程使线程能够达到同步。-Console application CMutex simple example. Create two threads to synchronize the threads.
ThreadCritical
- 控制台程序中Critical简单使用实例。创建两个线程使线程能够达到同步。-Console application Critical simple example. Create two threads to synchronize the threads.
ThreadEvent
- 控制台程序中Event简单使用实例。创建两个线程使线程能够达到同步。-Console application Event simple example. Create two threads to synchronize the threads.
ThreadMutex
- 控制台程序中Mutex简单使用实例。创建两个线程使线程能够达到同步。-Console application Mutex simple example. Create two threads to synchronize the threads.
TreadCCritical
- 控制台程序中CCritical简单使用实例。创建两个线程使线程能够达到同步。-Console application CCritical simple example. Create two threads to synchronize the threads.
ThreadCevent
- 控制台程序中CEvent简单使用实例。创建两个线程使线程能够达到同步。-Console application CEvent simple example. Create two threads to synchronize the threads.
ThreadRun
- 利用现有操作系统提供的同步机制编程实现无线程同步控制、Windows同步线程、Peterson同步线程并发运行,并用程序运行时间长短比较两种同步机制。-The use of synchronous programming mechanisms existing operating system to provide wireless synchronization control process, Windows thread synchronization, Peterson synchron
PASSTHRU
- 在windows提供的PASSTHRU程序中增加简单的线程,并同步。-Increase the simple thread in windows provided PASSTHRU program, and synchronization.
pv_rw
- 利用Windows提供的API函数,用VISUALC++ 6.0编写程序,解决生产者与消费者问题,实现进程的互斥与同步实验设计在同一个进程地址空间内执行的七个线程。三个生产者线程四个消费者线程。生产者线程生产物品,然后将物品放置在一个空缓冲区中供消费者线程消费。消费者线程从缓冲区中获得物品,然后释放缓冲区。生产者线程生产物品时,若无空缓冲区可用,生产者线程必须等待消费者线程释放出一个空缓冲区;消费者线程消费物品时,若无满的缓冲区,消费者线程将被阻塞,直到新的物品被生产出来。-err
pv_rw
- 利用Windows提供的API函数,用VISUALC++ 6.0编写程序,解决生产者与消费者问题,实现进程的互斥与同步实验设计在同一个进程地址空间内执行的七个线程。三个生产者线程四个消费者线程。生产者线程生产物品,然后将物品放置在一个空缓冲区中供消费者线程消费。消费者线程从缓冲区中获得物品,然后释放缓冲区。生产者线程生产物品时,若无空缓冲区可用,生产者线程必须等待消费者线程释放出一个空缓冲区;消费者线程消费物品时,若无满的缓冲区,消费者线程将被阻塞,直到新的物品被生产出来。-err
consumer_producer
- 使用了三个信号量: empty (以记录有多少空位)、full (以记录有多少满位)以及mutex (二进制信号量或互斥信号量,以保护对缓冲插入与删除的操作)。对于本项目, empty 与full 将采用标准计数信号量,而mutex 将采用二进制信号量。生产者与消费者作为独立线程,在empty、full、mutex 的同步前提下,对缓冲进行插入与删除。 -Producer and consumer problem of operating system.
MulThread_Download_demo
- android 实现文件多线程下载的实例,只是下载的demo,文件下载还需要进行文件MD5校验、本地同步等操作才是能够保证文件下载的完整。-Android to achieve multi-threaded download instance, just download the demo file download also need to file MD5 validation, local synchronization and other operations is to ensure
TestSerialComm
- 串口实现发送指令数据,采用多线程编程 以读写文件方式操作串口,实现线程间同步- Serial port data transmission instruction, multi-threaded programming to read and write files serial manner, to achieve synchronization between threads
Code
- 多线程程序的编写,多线程应用中容易出现的问题。互斥对象的讲解,如何采用互斥对象来实现多线程的同步。如何利用命名互斥对象保证应用程序只有一个实例运行。应用多线程编写网络聊天室程序。-Writing multithreaded program, multithreaded applications easily arise. Mutex explain how to use the mutex object to realize multi-thread synchronization. How t
exp22
- 设计并实现一个计算线程与一个I/O线程共享缓冲区的同步与通信,程序要求: 两个线程,共享公共变量a; 线程1负责计算(1到100的累加,每次加一个数); 线程2负责打印(输出累加的中间结果); 主进程等待子线程退出。 -Design and implement a computation thread and an I/O thread shared buffer synchronization and communication, procedural requiremen
RTXUSBUserGuide
- RTX是美国Ardence公司开发的基于Windows操作系统的实时解决方案,是目前Windwos平台的唯一纯软件的硬实时扩展子系统。RTX不对Windows系统进行任何封装或修改,其通过在HAL层增加实时HAL扩展来实现基于优先级的抢占式的实时任务的管理和调度。RTX实时子系统RTSS的线程优先于所有Windows线程,提供了对IRQ、I/O、内存的精确直接控制,以确保实时任务的100 可靠性。通过高速的IPC通讯和同步机制,RTX方便地实现与Windows之间的数据交换。RTX的定时器时钟分
toipileegutexprogram
- 深入详解编写实验程序,采用vs2010,编译通过互斥量同步线程-Thorough explanation experiment program, using vs2010, compiled by thread mutex synchronization
vhachronization
- 这是编译通过的Event同步线程,根据隋欣老师所讲的编写的-This is compiled by the Event thread synchronization, according to the sui xin teachers of writing
CBRIB
- 这是编译通过的Event同步线程,根据隋欣老师所讲的编写的-This is compiled by the Event thread synchronization, according to the sui xin teachers of writing