搜索资源列表
lock_mutex
- 演示了linux中的互斥锁机制,用gcc编译后运行-Demonstrates the mutual exclusion lock mechanism linux, compiled and run using gcc
sharedmemry
- linux 多线程编程, 共享内存传递数据,为了实习多个线程同时访问数据,需要互斥,保证数据同步等-linux multithreaded programming, shared memory to transfer data, in order to practice multiple threads simultaneously access the data, need mutual exclusion, to ensure data synchronization
Linux_Kernel
- Linux中各种内核态程序的编写,这是某个人的编程心得,里面有源代码,内容涉及互斥锁、信号量、多线程等,很不错的,值得参考!-Linux Kernel in a variety of procedures for the preparation of state, this is a personal experience of programming, which source code, which relates to mutual exclusion locks, semaphores,
wu
- 实现操作系统课程的pv操作,在unix下的多进程之间的同步与互斥-The realization of operating systems courses pv operation, in unix multi-process synchronization and mutual exclusion between
jincheng
- 进程的同步与互斥,在Unix环境下运行,个人写的,希望高手指点-Process synchronization and mutual exclusion, in the Unix environment to run, personal writing, I hope you instruct
philosopher
- 模拟“五个哲学家”问题该实验的要点是,解决并发环境下,多进程之间的同步与互斥问题。进程间的同步互斥必然涉及进程间的通信(信息交换)。-Simulation of the " five philosophers" problem of the main points of the experiment, the solution to complicated circumstances, between the multi-process synchronization and
os
- 分别利用UNIX的消息通信机制、共享内存机制(用信号灯实施进程间的同步和互斥)实现两个进程间的数据通信。具体的通信数据可从一个文件读出,接收方进程可将收到的数据写入一个新文件,以便能判断数据传送的正确性(对文件操不熟悉的同学可不必通过读写文件,只要键盘输入和输出至屏幕进行比较即可)。 -, Respectively, using the information communication mechanism UNIX, shared memory mechanism (with tr
product_consumer
- 生产者消费者问题。使用3个信号量。其中2个信号量avail和full解决同步问题。还有一个mutex解决互斥问题-Producers of consumer issues. The use of three semaphores. One volume of two signals simultaneously avail and full settlement of the issue. There is also a solution to mutual exclusion mutex pr
caozuoxitong2
- 创建无名管道,实现基于管道的进程间数据通信,掌握管道通信的方法及特征;并进一步理解互斥与同步的含义。-Create anonymous pipe, pipe-based inter-process data communication, control methods and characteristics of communication channels and further understanding of the meaning of mutual exclusion and syn
five
- 对于非对称性互斥问题有关概念的理解。观察和体验非对称性互斥问题的并发控制方法。了解Linux系统中IPC进程同步工具的用法,训练解决对该类问题的实际编程、调试和分析问题的能力。-For non-symmetric mutual exclusion problems understanding the concept. Observe and experience the non-symmetry of the problem of concurrency control methods are
four
- 并发协作进程同步与互斥概念的理解,观察和体验并发进程同步与互斥操作的效果。-Concurrent collaborative process to understand the concept of synchronization and mutual exclusion, concurrent processes to observe and experience the effects of synchronization and mutual exclusion operations.
pthread_sync_and_mutual
- linux多线程极大方便了程序编写,但同时必须考虑线程同步、互斥问题。 示例代码给出了利用信号量实现P、V操作,从而保证多线程同步、互斥。-linux multithread programming is very convenient, but we must pay attention to synchronization and mutual exclusion. The sample code shows us how to ensure multi-thread synch
semaphore
- 信号量(Semaphore)也被称为信号灯,常常作为在多线程环境下的同步与互斥机制。它负责协调各个线程,以保证它们能够正确、合理的使用公共资源。信号量分为单值和多值两种。单值信号量只能被一个线程获得,而多值信号量可以被若干个线程获得。 本实验是一个信号量实验,父进程作为生产者释放信号量,子进程作为消费者申请信号量。 实验环境 Redhat9.0-Semaphore (Semaphore), also known as signal lights, often in multi-th
shengchanzheyuxiaofeizhe
- 设计目的:通过研究Linux 的进程机制和信号量,实现生产者消费者问题的并发控制. 说明:有界缓冲区内设有20个存储单元,有界缓冲区可用数组实现,缓冲区中的内容自定。 设计要求:(1)每个生产者和消费者对有界缓冲区进行操作后,即时显示有界缓冲区的全部内容,当前指针位置和生产者/消费者进程标识符.(2)生产者和消费者至少各有两个以上.(3)多个生产者或多个消费者之间须有对缓冲区进行共享操作的函数代码(注意互斥与同步).-Design Objective: To study the mech
3
- 按照生产者/消费者的工作原理,在Linux环境下,创建两个进程(或线程),一个进程(线程)作为生产者(用来向缓冲区中写入字符,字符的个数有限),另一个进程(线程)作为消费者(从缓冲区中读取生产者写入的字符)。 要求: 1. 程序应将缓冲区中的内容不断的显示出来; 2. 程序设计中要考虑两进程并发执行中的同步与互斥问题; 3. 有能力的同学可以将管理的并发进程数扩展为N(N>=3)多个。-In accordance with the producer/consumer
Linux.Kernel.Development
- linux内核大师robert love 写的书,主要讲linux内核锁机制,同步与互斥等-the linux kernel guru robert love to write a book, the main speaker linux kernel lock mechanism, synchronization and mutual exclusion
pthread-test
- linux下的多线程例子,包含了俩个线程的创建和互斥.-under linux multithreading example, contains both thread creation and mutual exclusion.
mutex
- Mutexes: blocking mutual exclusion locks for linux.
rcutree
- Linux Driver Read-Copy Update mechanism for mutual exclusion
rtmutex
- simple blocking mutual exclusion locks with PI support for linux