搜索资源列表
Thread
- Delphi中的多线程操作,运用了互斥锁-Delphi in multi-threaded operation, the use of a mutex lock
ADCTouch
- wince4.2 下s3c2410 下adc驱动和touch驱动,解决了wince下adc驱动和touch下同时加载后,造成触摸屏不好使,程序中加入了进程互斥保护,解决了触摸屏和ADC驱动不能同时使用的问题。-adc under wince4.2 under s3c2410 drive and touch-driven, solution to wince under the adc drive and touch at the same time under the load, the res
Comm
- Socket通讯封装类,可直接使用,包括结构体的定义,锁互斥等-Socket.class
os
- 分别利用UNIX的消息通信机制、共享内存机制(用信号灯实施进程间的同步和互斥)实现两个进程间的数据通信。具体的通信数据可从一个文件读出,接收方进程可将收到的数据写入一个新文件,以便能判断数据传送的正确性(对文件操不熟悉的同学可不必通过读写文件,只要键盘输入和输出至屏幕进行比较即可)。 -, Respectively, using the information communication mechanism UNIX, shared memory mechanism (with tr
product_consumer
- 生产者消费者问题。使用3个信号量。其中2个信号量avail和full解决同步问题。还有一个mutex解决互斥问题-Producers of consumer issues. The use of three semaphores. One volume of two signals simultaneously avail and full settlement of the issue. There is also a solution to mutual exclusion mutex pr
ChatAsynchronous
- 一个多线程的,线程互斥的的,使用MFC框架的聊天室-A multi-threaded, the thread mutually exclusive, using MFC framework of the chat rooms
pthread
- 基于ARM9的Linux多线程应用程序。生产者写入缓冲区和消费者从缓冲区读数的具体流程,生产者首先获得互斥锁,并且判断写指针+1后是否等于读指针,如果相等则进入等待状态,等候条件变量notfull;如果不等则向缓冲区中写入一个整数,并且设置条件变量为notempty,最后释放互斥锁。消费者线程与生产者线程类似。-ARM9-Linux-based multi-threaded applications. Producers and consumers into a buffer from the
race_condition
- vxworks下解决共享数据竞争问题,在访问共享的数据前,使用互斥信号量对共享数据进行保护-vxworks share data to resolve the issue of competition in the access to shared data before the use of mutex semaphores to protect shared data
zhexuejia
- 哲学家进餐问题,实现多进程间的互斥访问,进程间的竞争-Dining Philosophers problem, to achieve mutually exclusive access among the multi-process, the process of competition between
Mutex
- 互斥量的类封装,适合C++编程,通过此类,能够直接对互斥量进行控制。-Mutex class package for C++ programming, through such direct-to-mutex control.
TestKfifo
- Kfifo源于Linux下的C源码,经封装成C++的CKfifo类 源文件:Kfifo.h 和 Kfifo.cpp 功能:具有互斥功能的BUF队列类。 编译环境: Visual Studio2008-Kfifo from the C source code under Linux, after packaging into a C++, CKfifo class source file: Kfifo.h and Kfifo.cpp functions: BUF
mune
- 线程同步机制。 互斥器的功能和临界区域很相似。区别是:Mutex所花费的时间比Critical Section多的多,但是Mutex是核心对象(Event、Semaphore也是),可以跨进程使用,而且等待一个被锁住的Mutex可以设定TIMEOUT,不会像Critical Section那样无法得知临界区域的情况,而一直死等。-Thread synchronization mechanism. Mutex' s function and the critical region is
CreateMutex
- 通过修改互斥体 达到重复启动程序的目的 !-Change the Mutex
linuxsystemdslab
- 包含了各个单元的linux实验源码,包括进程同步、互斥、文件系统、存储管理等的实现。-it includes many unit,such as produces and so on.
java_threaddemo
- 哲学家就餐是一个经典的Java多线程编程的实例,这是图形版。涉及到线程同步与互斥,临界区访问问题以及避免死锁的方法。 -Dining Philosophers is a classic example of Java multi-threaded programming, it is graphic version. Related to thread synchronization and mutual exclusion, critical access issues and ways to
reader_writer
- 读者写者问题,通过临界资源互斥实现多线程的读写控制-Readers to write those problems through the critical resources mutually exclusive multi-threaded read-write control
writeread
- 测试一下读写进程互斥问题~仅是一个小小的程序~如有不满意~请见谅-Test the reading and writing process of mutual exclusion problem ~
huluwa
- linux互斥锁:说明互斥锁的用法-linux mutex
MutiThread
- 建立多线程的模板,其中包括互斥、运行一次实例,等等,比较好用,编写类似程序时具有一定的参考价值。-The establishment of multi-threading templates,including the exclusive,run once instance,and so on,more easy to use,write a similar program has certain reference value.
mutex
- 这个程序是mutex测试代码,用于mutex的互斥性。比如两个线程可以互相不干扰彼此。-This program is a mutex test code for the mutex of the mutually exclusive. Example, two threads can not interfere with each other with each other.