搜索资源列表
open_pointer
- Shutdown the mutex system. This call frees resources allocated by sqlite3MutexInit().
Ginit_local
- Allocate mutex memory Source Code for Embedded Linux.
cmp_nullptr
- Create the mutex semaphore, with initial value 1 Source Code for Embedded Linux.
Delete_Mutex
- 天龙八部多开源码dll代码,删除Mutex,可以借鉴学习!-Dragon dll to open source code, delete Mutex, can learn from!
copy
- Just provide compatibility for mutex handling Kernel Device Driver for linux v2.13.6.
virtio_console
- Retrieve a pointer to a static mutex or allocate a new dynamic one Kernel Device Driver for linux v2.13.6.
ip_nat
- Shutdown the mutex system. This call frees resources allocated by sqlite3MutexInit() Kernel Device Driver for linux v2.13.6.
ReaderWriterLoc
- 使用ReaderWriterLoc锁开发的两个方法互斥执行-Use ReaderWriterLock mutex lock developed two methods to perform
test_ulaw2linear
- mutex.h: interface to mutual exclusion primatives.
_delch
- Semi-Portable MUTEX lock stuff Requires the atom package. -Semi-Portable MUTEX lock stuff Requires the atom package.
110104010104
- 解决的主要问题 (1)MFC界面设计 (2)模拟生产者消费者的互斥操作 (3)各信号量及互斥体的使用 线程 线程是程序独立运行的基本单位,一个程序通过执行多个线程可以提高机器本身资源的利用率,同时也可以完成多任务并行运行的操作,多线程可以实现并行处理,避免了某项任务长时间占用CPU时间。 互斥体 互斥体与临界区很相似,但是使用时相对复杂一些,它不仅可以在同一应用程序的线程间实现同步,还可以在不同的进程间实现同步,从而实现资源的安全共享。 信号量 信号量是一个
RTX-Operating-System-Tutoria-15
- 安富莱电子原创RTX操作系统教程,配套STM32F103和STM32F407开发板。本章节开始讲解RTX的另一个重要的资源共享机制 -互斥信号量(Mutex,即Mutual Exclusion的缩写)。注意,建议初学者学习完上个章节的信号量后再学习本章节的互斥信号量。-Armfly Electronic Original RTX operating system tutorials, supporting STM32F103 and STM32F407 development board.
VC-Thread-synchronization-methods-
- VC下线程同步的三种方法(互斥、事件、临界区、信号量)-VC Thread synchronization three methods (mutex, events, critical sections, semaphores)
readerwriter
- 读者写者问题C++解法,使用互斥信号量,写者线程优先,共有3个读者2个写者-Similar to the barbers problem,the program use semaphore to solve the reader/writer problem.Two semaphores are involved:m_h, h,used as a counter and mutex between 2 writers.Main function create 3 reader thread an
thread
- thrs_data结构中的几个变量用于读数据线程和显示线程的开始控制和结束控制。start_read:当二个线程同时启动或显示线程先启动时,保证读数据线程先使用缓冲区,=1表示读数据线程已使用了缓冲区;start_disp:在读数据线程对缓冲区进行第一轮操作时,当它已将2个缓冲区写满,而此时显示线程还没有启动或还没有使用过缓冲区,这时应将读数据线程阻塞住,防止它覆盖掉缓冲区中未显示的数据,=1表示显示线程已启动并已使用了缓冲区。在后续交替读数据和显示数据的过程中,由互斥锁来协调二个线程之间的关系
ThreadMutex
- 控制台程序中Mutex简单使用实例。创建两个线程使线程能够达到同步。-Console application Mutex simple example. Create two threads to synchronize the threads.
servicetest102
- Service程序,有具体的安装,卸载。和一个应用程序连接,里面有Mutex,namedpipe,-Service procedures, there are specific installation, uninstall. And an application to connect, there are Mutex, namedpipe, etc.
servicetest102
- Service程序,有具体的安装,卸载。和一个应用程序连接,里面有Mutex,namedpipe,-Service procedures, there are specific installation, uninstall. And an application to connect, there are Mutex, namedpipe, etc.
consumer_producer
- 使用了三个信号量: empty (以记录有多少空位)、full (以记录有多少满位)以及mutex (二进制信号量或互斥信号量,以保护对缓冲插入与删除的操作)。对于本项目, empty 与full 将采用标准计数信号量,而mutex 将采用二进制信号量。生产者与消费者作为独立线程,在empty、full、mutex 的同步前提下,对缓冲进行插入与删除。 -Producer and consumer problem of operating system.
stm32-UCOSIII-huchi
- 使用STM32使用UCOSIII互斥信号量! -Use the STM32 to use the UCOS II mutex!