搜索资源列表
thread
- 实现了将一个任务创建多个线程执行的功能。而且实现了多个生产者和多个消费者同步的功能。-To achieve a task that will create multiple threads perform executive functions. But also achieved a number of producers and multiple consumers in synchronization feature.
Thread_Sync_Demo
- 线程 同步方法比较例子(事件,临界区)-Thread thread synchronization methods examples (events, critical areas)
market
- 商场入口人数统计程序 说明: 某一家商场共有4个出入口,假设每一个顾客进入商场时对入口的选择具有随机性。现在需要统计在某一时段内每个入口的顾客数,以及进入商场的总顾客数。请利用线程同步及线程调度技术模拟一个实时计数系统。 -The number of statistical procedures mall entrance Descr iption: A one store a total of four entrances, suppose a customer into the
ThreadTest
- 此功能是线程的同步问题!在某种意义上讲有时我们在写代码是程序是否同步是很关键的!-this function is Thread synchronization problem.
duoxianchengtongbu
- 事件内核对象、关键代码段(临界区)的讲解,以及在多线程同步中的应用。在Windows下编写基于消息的网络应用程序,掌握阻塞与非阻塞网络程序的编写,理解在Windows平台下,采用异步选择机制可以提高网络应用程序的性能。-The event kernel object, the key code segment (critical zone) explanations, and synchronization in a multi-threaded applications. Prepared u
PROSUM
- 编程实现生产者-消费者问题。提示:生产者-消费者问题是一个实现线程同步的问题,生产者线程总是先运行,消费者线程在其后,两者交替运行,在程序中生产者线程和消费者线程可以共享数据,生产者线程为数据赋值,消费者线程将数据返回。可以利用创建Thread类的子类来实现。-Programming producer- consumer issues. Tip: Producer- Consumer problem is an implementation of thread synchronization
vcMultiThread
- VC++ 多线程与聊天室程序的编写,多线程应用中容易出现的问题。互斥对象的讲解,如何采用互斥对象来实现多线程的同步。 -VC++ multi-threaded programs written with the chat rooms, multi-threaded applications prone to problems. Mutex object' s explain how to use multi-threaded mutex object to achieve synchr
MultiThread
- VC++ 多线程与聊天室程序的编写,多线程应用中容易出现的问题。互斥对象的讲解,如何采用互斥对象来实现多线程的同步。如何利用命名互斥对象保证应用程序只有一个实例运行。应用多线程编写网络聊天室程序。在接收线程函数中,遗忘了释放指针的操作,在随盘代码中已更正,特此说明。-VC++ multi-threaded programs written with the chat rooms, multi-threaded applications prone to problems. Mutex objec
sy4
- 线程的创建和同步控制 在windows2000的环境下,创建一个控制台进程,此进程创建两个并发线程,一个是读线程,另一个是写线程。这两个线程共享一个数组A,写线程对数组分别进行10次写操作,每次写操作对A的每个元素赋一个相同的值;读线程对数组分别进行10次读操作,每次读操作输出A中所有元素的值。写出相应代码,并分析运行结果。修改代码,使每次读写互斥,即每次对数组的写操作结束后才能进行写操作,反之亦然。-Thread creation and synchronization control i
threadandsocket
- 线程同步与异步套接字,通过例子方便的理解这些知识-Thread synchronization with asynchronous socket, through the examples to facilitate understanding of the knowledge
Code3
- 事件内核对象、关键代码段(临界区)的讲解,以及在多线程同步中的应用。在Windows下编写基于消息的网络应用程序,掌握阻塞与非阻塞网络程序的编写,理解在Windows平台下,采用异步选择机制可以提高网络应用程序的性能。-Event kernel object, the key to the explanation of the code segment (critical section), and synchronization in multithreaded applications. M
program
- 该程序实现两个线程并行执行,使用信号量同步进行。-The program two threads execute in parallel, using the semaphore synchronization.
ThreadSafeQueue
- 基于C++标准模板块STL的list容器开发的线程安全的队列,实现队列的基本功能,如入队,出队,可以设置队列最大值,可以用于线程同步-Thread-safe queue based on the standard mode C++ plate STL list container development, to achieve the basic functions of the queue, such as into the team, a team, you can set the maxi
DelphiXCTB
- Delphi多对象等待实现的线程同步 运行示例程序,并尝试在输入框中输入有效的目录名,然后 按下“添加到监视列表”按钮。 到被监视的目录中,做一些文件或者目录操作,例如创建文 件、更名等。会发现本程序将做出一些响应。-Delphi multi-threaded implementation of synchronization object wait
ProducerConsumer
- 生产者消费者问题(英语:Producer-consumer problem),也称有限缓冲问题(英语:Bounded-buffer problem),是一个多线程同步问题的经典案例。该问题描述了两个共享固定大小缓冲区的线程——即所谓的“生产者”和“消费者”——在实际运行时会发生的问题。生产者的主要作用是生成一定量的数据放到缓冲区中,然后重复此过程。与此同时,消费者也在缓冲区消耗这些数据。该问题的关键就是要保证生产者不会在缓冲区满时加入数据,消费者也不会在缓冲区中空时消耗数据。-Producers
MultithreadingRelated
- 多线程代码 经典线程同步互斥问题 生产者消费者问题 -Multithreading Related
大文件MD5多线程 - 副本
- 同步文件夹,并且校验MD5。可以用来更新(Synchronize folders and verify MD5. Can be used to update)
京东多线程版
- 实现京东多线程post d登录,同步账号(Realizing Jingdong multithreading post D login, synchronization account)
tutorial
- 利用scrapy框架进行网络爬取数据,多线程同步抓取(Network crawling data using scrapy framework and multi thread synchronization grabbing)
include
- 要求在屏幕上先显示Hello,再显示World,基于事件的多线程同步程序。(It is required to display Hello on the screen first, then display World, event based multithreaded synchronization program.)