搜索资源列表
利用读写锁保持线程同步.zip
- 利用读写锁保持线程同步
RWLock
- 读写锁: 一个简单的支持多个读,一个写控制源码
rwlock
- 实现了面向多线程应用程序的读写锁,支持并发读,互斥写
RWMutex
- RWMutex 跨平台的读写锁封装类源码
RWLock.rar
- 实现了面向多线程应用程序的读写锁,支持并发读,互斥写,For the realization of multi-threaded applications to read and write lock to support the concurrent read, exclusive write
利用读写锁保持线程同步
- 利用读写锁保持线程同步-Read-write lock to maintain the use of thread synchronization
mutex-lock
- 多线程编程-互斥锁 由于线程的清量性,在搜索引擎构建中被广泛使用.线程的实现有多种方式,譬如互斥锁,条件变量,读写锁等.其中互斥锁最为简单,读写锁也与互斥锁类似.在LInux下简单实现一个链表,链表的插入和删除,以及整个链表的析构要考虑多线程的同步-Multi-threaded programming- Mutex clearance due to the amount of threads in the search engines are widely used to build. Th
StateServer
- 该源码用VC6.0开发,实现了一个状态服务器(State server),其中的 读写锁,线程池机制,完成端口机制具有很好的参考价值。-The source code with VC6.0 development, to achieve a state of the server (State server), which read and write locks, the thread pool mechanism, the completion port mechanism has a
rwlock
- windows下读写锁实现,写锁优先于读锁。-to achieve under the windows to read and write lock, write lock lock priority in time.
Memory_src
- 现在要设计一个MemPool(Pool是一个循环链表并平分为N个Chunk,每个Chunk都有一个读写锁),只有一个写线程负责往chunk里面写数据,N个读线程从chunk中读出数据-Now to design a MemPool (Pool is a circular linked list and the level is divided into N a Chunk, each Chunk has a read-write lock), and only one thread is wri
win_rwlock
- window下,用于文件读写的线程读写锁-read and write file lock for windows
rw_locker.tar
- 嵌入式开发中常用的读写锁算法程序源码,和平台无关,可移植性好-Commonly used in embedded development program source code to read and write lock algorithm, and platform-independent and portable
CReadWriteLock
- Windows下的读写锁程序,里面封装了一个读写锁类,调用这个读写锁类可以实现对Windows下的文件的读写控制
RWLock
- c++ 的进程读写锁 及范围锁 有用法示例-c++ the scope of the process of read-write lock and lock with usage examples
QTrwlock
- 由qt的源码移植来的进程读写锁,语言 C++,稳定无BUG-Transplanted from the qt source the process of read-write lock, the language C++, stable non-BUG
TestFileLock
- 使用文件管理 API 实现进程间文件共享读写锁-Using File Management Windows API for implementing inter computer Read/Write lock
SimuRWLock
- 通过Mutex封装实现的读写锁类。写锁优先于读锁。如果有写锁在等待,则读锁一直等待,直到写锁获取锁,并释放后才能获取。读锁是共享锁,写锁是独占锁。提供Mutex与临界区两种方式可宏切换实现,Mutex为系统内核对象,速度比较慢,但比较好控制。临界区速度快,但无进入临界区无超时时间,对时间控制不精确。 BOOL ReadLock(int timeout=INFINITE) BOOL TryReadLock(int timeout=INFINITE,BOOL bLock=TRUE)
read-write
- 读写锁问题的代码研究,控制读者写着同步互斥的问题。加深对操作系统的理解。-Read-write lock code of the problem, says the reader synchronization control mutually exclusive issues. Deepen the understanding of the operating system.
readwrite
- 读写者问题,解决进程死锁和恢复,进程调度。 多线程任务。-Those who read and write and solve deadlock and restore processes, process scheduling. Multithreaded.
Mutex
- 封装了Linux下的互斥锁、读写锁、条件锁以及防止死锁的策略(The mutex, read-write lock, conditional lock and deadlock prevention strategy of Linux are encapsulated)