搜索资源列表
Barbershop
- 操作系统概念第六版信号量课后习题,Barbershop的多线程编码-Operating System Concepts sixth edition Semaphore of the book exercise, babershop problem, java multithreading semaphore issues
PVSample
- PV信号量的实现,使用信号量来解决进程之间的各种同步问题-Implementation, using semaphores PV semaphore to solve various synchronization between processes
semaphore
- brief Basic functionality for a safe iterator. -brief Basic functionality for a safe iterator.
sem_open
- Use a semaphore to implement mutual exclusion.
os_mutex_sem
- 单片机实现信号量功能函数,方便移植使用任何单片机,代码规范。-MCU semaphore performance function, easily ported to use any microcontroller code specifications.
cam_semaphore
- Implement semaphore with mutex and conditional variable. Reason being, POSIX semaphore on Android are not used or well tested.
share
- Wait on the semaphore till it is released.Lock the mutex to protect the critical section.
12_2_POPENPFIFOPsign
- Popen+信号量 在系统中的传播方式例子之一-Popen+ semaphore in the system, one example of communication
setw
- Thread, mutex, condition variable, barrier, semaphore and thread-specific data functions.
semaphore_ex
- windows系统平台,多线程信号量(semaphore)示例源码。-semaphore sample
cmp_nullptr
- Create the mutex semaphore, with initial value 1 Source Code for Embedded Linux.
JavaApplication4
- This code implement semaphore, using 2 proccess, which first is write string consanant values to txt-file, second read txt-file-This code implement semaphore, using 2 proccess, which first is write string consanant values to txt-file, second read t
ipc_sem
- Inter-Process Communication Semaphore Facility.
sema
- defines for semaphore mapping.
ipcrm
- Remove specified message queues, semaphore sets and shared memory ids.
gio
- Check message, semaphore, or shared memory access permission.
110104010104
- 解决的主要问题 (1)MFC界面设计 (2)模拟生产者消费者的互斥操作 (3)各信号量及互斥体的使用 线程 线程是程序独立运行的基本单位,一个程序通过执行多个线程可以提高机器本身资源的利用率,同时也可以完成多任务并行运行的操作,多线程可以实现并行处理,避免了某项任务长时间占用CPU时间。 互斥体 互斥体与临界区很相似,但是使用时相对复杂一些,它不仅可以在同一应用程序的线程间实现同步,还可以在不同的进程间实现同步,从而实现资源的安全共享。 信号量 信号量是一个
Semaphore
- 线程同步 信号量`Thread_Semaphore`-thread_semaphore Thread synchronization signal
SharedMemory
- Linux共享内存源码,包括写共享内存的进程代码,读共享内存的进程代码,还有信号量的代码-Linux shared memory source, including the process of writing code for shared memory, shared memory reading process code, there semaphore code
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