搜索资源列表
AboutTime
- C#定时从网络同步系统时间,最小化到托盘,多线程实现。-C# timing from the network synchronization system time, minimize to tray, multi-threaded implementation.
CPPCode
- 应用多线程编写网络聊天室程序,采用互斥对象来实现多线程的同步.-Written in the application of multi-threaded network chat program,Mutex to achieve the synchronization of multiple threads.
3
- 按照生产者/消费者的工作原理,在Linux环境下,创建两个进程(或线程),一个进程(线程)作为生产者(用来向缓冲区中写入字符,字符的个数有限),另一个进程(线程)作为消费者(从缓冲区中读取生产者写入的字符)。 要求: 1. 程序应将缓冲区中的内容不断的显示出来; 2. 程序设计中要考虑两进程并发执行中的同步与互斥问题; 3. 有能力的同学可以将管理的并发进程数扩展为N(N>=3)多个。-In accordance with the producer/consumer
synchronization-and-deadlock
- C_线程系列讲座(4):同步与死锁问题的避免-The C_ thread lecture series (4): synchronization and deadlock
The-synchronization-of-the-Monitor
- C_线程系列讲座(5):同步技术之Monitor-The C_ thread lecture series (5): The synchronization of the Monitor
wx_13
- 这是用线程模拟火车票的售卖代码 比较简短 原理也比较清楚 对线程的同步理解很有帮助-This is a relatively brief principle of the sale code for the thread is impersonating the train is also more clearly understand very helpful thread synchronization
LDCameraController-src
- 精美的云台控制程序,带Flash加载窗口、支持多线程串口通讯、IOCP、同步异步通信。-Fine PTZ control procedures with the Flash to load the window to support multi-threaded serial communication, the IOCP, synchronous to asynchronous communication.
MTThread-and-Queue
- 自己写的多线程对队列中插入和删除数据,最重要的是要保持同步,供大家学习-Write your own multi-threaded insert and delete data in the queue, the most important thing is to keep pace for everyone to learn
reader-writer
- 用多线程解决读者-写者问题,实现读写互斥,写写互斥,读读同步。-Readers- write the problem of multi-threaded solution, to achieve read and write mutex, write mutex, read synchronization.
TreadEvent
- 多线程使用实践的方式来实现同步。 初学者可以下载参考。-Multi-threaded practical way to achieve synchronization. Beginners can download the reference.
Ordering-(menu)-system
- 点菜系统包括后台数据服务系统和前台运行管理系统。本文档主要描述前台运营管理系统和后台服务系统两个子系统。 前台运营管理系统: 点菜系统是基于Linux平台的实验室环境,选择使用QT实现界面的绘制,以及多线程的实现。主要有点菜、查询、结账、同步、更新这5个功能。 -The a la carte system, including the back-end data services systems and front run the management system. Thi
MultiThreadchat
- 多线程程序的编写,多线程应用中容易出现的问题。互斥对象的讲解,如何采用互斥对象来实现多线程的同步。 如何利用命名互斥对象保证应用程序只有一个实例运行。应用多线程编写网络聊天室程序。 -Multithreaded programs written in easily arise in multi-threaded applications. Mutex object to explain how to use mutex objects to realize multi-threa
Semaphore
- 主、子两个线程之间的同步,要求子线程先执行。在主线程中使用系统调用CreateThread()创建一个子线程。主线程创建子线程后进入阻塞状态,直到子线程运行完毕后唤醒主线程。-The main synchronization between two threads of the child requires the child thread is executed first. In the main thread using the system call CreateThread () to
memory-op
- 使用Windows 2000/XP的API函数,编写一个包含两个线程的进程,一个线程用于模拟内存分配活动,一个线程用于跟踪第一个线程的内存行为,而且要求两个线程之间通过信号量实现同步。模拟内存活动的线程可以从一个文件中读出要进行的内存操作。-Use the API functions in Windows 2000/XP, the preparation of a process contains two threads, one thread is used to simulate memo
buffering
- 利用缓冲池和多线程技术,实现生产者和消费者同步的问题。只有缓冲池中有空闲的时候才可以生产产品;只有缓冲池有产品的时候才可以消费。-Pool and multi-threading technology to realize the synchronization problem of the producers and consumers. Buffer pool idle time can produce products pool products when it can be consu
produceAndConsume
- 利用多线程的技术实现生产者和消费者的同步问题。解决了生产一个消费一个的问题,提高了系统的性能。-Multi-threading technology to realize the synchronization problems of producers and consumers. Solve the production of a consumer a problem and improve the performance of the system.
forkSYSV
- 本任务主要目的练习UNIX/LINUX同步编程,熟悉基本的线程相关API。 任务要求 编程实现下图的效果,要求分别使用进程和线程 (1) 进程+SYS V信号量 (2) 线程实现+Posix同步操作API -The main purpose of this task exercises UNIX/LINUX synchronization programming, familiar with the basic thread-related APIs. Tasks requi
ThreadPosix
- 本任务主要目的练习UNIX/LINUX同步编程,熟悉基本的线程相关API。 编程实现下图的效果,要求分别使用进程和线程 (1) 进程+SYS V信号量 (2) 线程实现+Posix同步操作API -The main purpose of this task exercises UNIX/LINUX synchronization programming, familiar with the basic thread-related APIs. Tasks require p
ACE_SEVER_POOL
- 采用ACE实现了一个通用的C/S架构通信程序,具体实现简述如下:1. 服务器端:一个采用领导者/跟随者模型的线程池不断地接受从多个客户端发来的消息,并放入一个消息队列,然后又有一个采用半同步/半异步模型的线程池不断地从这个消息队列中取出消息进行处理-I recently adopted by the ACE to achieve a common C/S architecture communication procedures, concrete realization are summari
acl
- 该库跨平台的、支持常见数据算 法、有很好的服务器框架、支持线程池/进程池、支持同步/异步通信、简单易用可扩展、支持HTTP协议、ICMP协议、DNS协议等-The library of cross-platform, support the common data is law, have very good server framework, support thread pool/process pool, support synchronous/asynchronous communica