搜索资源列表
CCritionSection
- 线程同步是一个非常大的话题,包括方方面面的内容。从大的方面讲,线程的同步可分用户模式的线程同步和内核对象的线程同步两大类。用 户模式中线程的同步方法主要有原子访问和临界区等方法。其特点是同步速度特别快,适合于对线程运行速度有严格要求的场合。 在MFC中封装了CCritionSection等对象可以对共享资源进行锁定 -thread synchronization is a very big issues, including all aspects of the content
MultiThread
- 互斥对象的讲解,如何采用互斥对象来实现多线程的同步。如何利用命名互斥对象保证应用程序只有一个实例运行
POSIXPthreadprogrammer
- Linux 的多线程编程内核同步 超级经典!!!!强烈推荐
zhexuejia
- linux用多线程同步方法解决哲学家就餐问题(Dining-Philosophers Problem)
multi_thread_dwm
- 多线程同步机制在应用程序与驱动程序通信中的应用-multi_thread
lifawenti
- 设有一个理发师,5把椅子(另外还有一把理发椅),几把椅子可用连续存储单元。 要求: 1)为每个理发师/顾客产生一个线程,设计正确的同步算法 2)每个顾客进入理发室后,即时显示“Entered” 及其线程自定义标识,还同时显示理发室共有几名顾客及其所坐的位置。 3)至少有10个顾客,每人理发至少3秒钟。 4)多个顾客须共享操作函数代码。 -There is a barber, five chairs (in addition to a barber chair), a few
xianchengtongbu
- 多线程同步技术是计算机软件开发的重要技术,本文对多线程的各种同步技术的原理和实现进行了初步探讨。-Multi-thread synchronization technology is an important technology computer software development, this paper various simultaneous multi-threading technology, theory and implementation were discussed.
readerwriter
- 实验一 用信号量来实现读者-写者问题 (一) 实验目的 理解进程(或线程)及信号量的概念 (二) 实验内容 1、定义一个数据缓存buffer及用于实现同步互斥的信号量。 2、定义一个读者函数: 当有写者在占用buffer时,读者应该等待,直到写者不再使用该buffer。 当有其他读者在占用buffer时,读者可对buffer进行读取操作。 当buffer中有数据时,则从其中读取一个数据,并显示然后退出。 当buffer中没有数据时,应等待,直到buffe
CircleByteBuffer
- 设计了一个环形字节缓冲区类,可用于通信数据收发的缓冲处理。类的读写及查看接口已经加上了多线程同步访问锁。-Designed a ring-byte buffer class, can be used to send and receive communication data buffering. Class to read and write and see the interface has been coupled with a multi-thread synchronization t
arrayBuffer
- 设计了一个环形字节缓冲区类,可用于通信数据收发的缓冲处理。类的读写及查看接口已经加上了多线程同步访问锁。-Designed a ring-byte buffer class, can be used to send and receive communication data buffering. Class to read and write and see the interface has been coupled with a multi-thread synchronization t
Lesson16
- Lesson16线程同步与异步套接字编程,通过ppt的讲解有个大致的了解-Thread synchronization with asynchronous socket programming
Delphi-multi-threaded-programming
- Delphi多线程的编程 多线程的基本概念 Tthread 对象的主要方法 线程应用的简单例子 常用的API 函数 线程的终止和退出 线程的优先级 在数据库中使用多线程 多线程的同步机制 利用Windows的API 实现同步-The main method thread of basic the concept Tthread objects in Delphi multi-threaded programming multithreaded applications simple exampl
linux-multi-thread-synchronization
- linux多线程同步的方法 在线程对共享相同内存操作时,就会出现多个线程对同一资源的使用,为此,需要对这些线程进行同步,以确保它们在访问共享内存的时候不会访问到无效的数值。-linux multi-thread synchronization Threads share the same memory operation, there will be multiple threads use the same resources to do this, you need to synch
45
- Visual+c++串口通信工程开发实例多线程同步控制采集GPS数据-Multithreaded synchronization control
4
- 针对目前图形处理器(GPU) 上的动态数据处理问题,在分析现有并行单源最短路径(SSSP) 算法的基础上,对 GPU上的Moore SSSP算法进行并行化设计与实现。搜索时,综合应用层次化任务分配、层次化工作队列、层次化 Kernel 调用等策略。在不同类型图数据上进行实验测试,实验结果表明,该算法能有效减少空线程开销、访存开销以及同步时间。-For dynamic data processing on the graphics processor (GPU), the analysis of
MFCmultithreading-
- 介绍MFC怎么创建线程,以及线程同步的几种方法,一看就明白。-The MFC how to create a thread, and several methods of thread synchronization, one look to understand.
MultiAgent0910
- 实现智能多线程技术,项目中有一个客户端和服务端,实现同步监听和异步调用-Intelligent multi-threaded
Java-multi-threading-mechanism
- 由于在Java语言提供了线程支持,系统资源的利用率得以提高,系统性能得到改善。文章在分析Java多线程的基础上,对如何实现一个多线程,如何实现同步,进行了简要分析。-Since the Java language provides threading support, improved utilization of system resources, system performance is improved. On the basis of analysis of multi-threade
Java-Virtual-Machine
- Java虚拟机使用锁机制来实现多线程共享数据结构的同步.锁机制维护的临界区通常对共享数据结构只进行读操作.只读锁是指当某个线程持有锁在只读临界区时,其他线程可以直接进入只读临界区而无需等待.只读锁能极大地提高锁机制的同步性能.Java虚拟机的锁机制可分为轻量级锁和重量级锁两层,当线程冲突时从轻量级锁转向重量级锁.本文分别从轻量级锁和重量级锁两个层次分别进行只读锁优化.轻量级锁的只读优化算法可以减少原子操作的开销;重量级锁的只读优化算法则可以使多个线程同时在只读临界区中.最后在Java虚拟机Hot
多线程和数据缓存
- 进程和线程,同步,互斥,并发 数据缓存基本实现原理