搜索资源列表
5examplesofLinux-c
- 简单的字符设备驱动程序mydriver.c、用mmap()来读取/etc/passwd 文件内容、mutex的使用实例、condition virable的使用实例、semaphore的使用实例-A simple character device driver mydriver.c, using mmap () to read/etc/passwd file content, mutex the use of examples, condition virable the use of exam
signal_mutex
- 演示了linux中用信号量实现互斥锁的机制,用gcc编译后运行-Demonstrated using linux semaphore mutex lock mechanism, with the gcc compiled and run
IPC_Funs
- c++写的在linux环境下多线程间使用互斥锁、posix信号量和system v信号量,实现的通信程序。自己编写的,自己测试过。-written in c++ linux environment using multi-thread mutex locks, posix semaphores and system v semaphore, to achieve the communication program. I have written, and tested.
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.
setw
- Thread, mutex, condition variable, barrier, semaphore and thread-specific data functions.
cmp_nullptr
- Create the mutex semaphore, with initial value 1 Source Code for Embedded Linux.