搜索资源列表
mutex_semphore
- Linux下操作系统的基本知识,在多线程处理中通过信号量进行互斥处理。-Basic knowledge of the Linux operating system under multithreading semaphore mutex.
mutex
- Linux中信号量、线程、同步及互斥等例子-Examples of Linux, semaphores, threads, synchronization and mutual exclusion
pi
- linux下计算PI值,创建线程、互斥锁,可以借鉴一下-PI values calculated under linux, create threads, mutexes, we can draw
StringDriver
- LINUX2.6内核字符型设备驱动程序,采用了非阻塞机制、互斥机制,使用了poll接口。使用方法不用多说了,跟其他字符驱动没区别,可以自行百度。ps: Makefile也包含在里面了。-LINUX2.6 kernel character device driver, using a non-blocking mechanism, mutual exclusion mechanism, using a poll interface. Use Needless to say, no differen
threadPool.tar
- 如何构建一个简单的线程池,要点:线程池的构建,互斥锁与条件变量的使用-how to build a thread pool
02mutex
- Linux 下的 互斥锁的操作,保证的用的进程的同步-Linux under the mutex operation, ensure that the use of process synchronization
mutex_ok
- 线程之间的互斥锁,当线程之间所用的资源相同,要同时访问,为了防止冲突,要用互斥锁。-请键入文字或网站地址,或者上传文档。 取消 Xiànchéng zhī jiān de hù chì suǒ, dāng xiànchéng zhī jiān suǒyòng de zīyuán xiāngtóng, yào tóngshí fǎngwèn, wèile fángzhǐ chōngtú, yào yòng hù chì suǒ.Mutex between threads, when the
mThreads
- linux下互斥体和条件变量在生产组与消费者模型中的应用-linux,mutex and condition application in producer and constumer model.
thread
- thrs_data结构中的几个变量用于读数据线程和显示线程的开始控制和结束控制。start_read:当二个线程同时启动或显示线程先启动时,保证读数据线程先使用缓冲区,=1表示读数据线程已使用了缓冲区;start_disp:在读数据线程对缓冲区进行第一轮操作时,当它已将2个缓冲区写满,而此时显示线程还没有启动或还没有使用过缓冲区,这时应将读数据线程阻塞住,防止它覆盖掉缓冲区中未显示的数据,=1表示显示线程已启动并已使用了缓冲区。在后续交替读数据和显示数据的过程中,由互斥锁来协调二个线程之间的关系