Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - mutual exclusion
Search - mutual exclusion - List
DL : 0
主要是其于linux c编程,包括了进程通信,进程同步与互斥,以及采用二进制读写文件,还有文档说明-Mainly in the in linux c programming, including the process of communication, process synchronization and mutual exclusion, and the introduction of reading and writing binary files, as well as documentation
Date : 2025-12-19 Size : 63kb User : 张伟华

DL : 0
实现操作系统课程的pv操作,在unix下的多进程之间的同步与互斥-The realization of operating systems courses pv operation, in unix multi-process synchronization and mutual exclusion between
Date : 2025-12-19 Size : 3kb User : 火也

进程的同步与互斥,在Unix环境下运行,个人写的,希望高手指点-Process synchronization and mutual exclusion, in the Unix environment to run, personal writing, I hope you instruct
Date : 2025-12-19 Size : 1kb User : 贵树生

模拟“五个哲学家”问题该实验的要点是,解决并发环境下,多进程之间的同步与互斥问题。进程间的同步互斥必然涉及进程间的通信(信息交换)。-Simulation of the " five philosophers" problem of the main points of the experiment, the solution to complicated circumstances, between the multi-process synchronization and mutual exclusion issues. Inter-process mutex synchronization process must involve communication (information exchange).
Date : 2025-12-19 Size : 1kb User : chenlisten

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, and other multi-threaded, it is good, it is also useful!
Date : 2025-12-19 Size : 131kb User : Jackson

DL : 0
分别利用UNIX的消息通信机制、共享内存机制(用信号灯实施进程间的同步和互斥)实现两个进程间的数据通信。具体的通信数据可从一个文件读出,接收方进程可将收到的数据写入一个新文件,以便能判断数据传送的正确性(对文件操不熟悉的同学可不必通过读写文件,只要键盘输入和输出至屏幕进行比较即可)。 -, Respectively, using the information communication mechanism UNIX, shared memory mechanism (with traffic lights between the implementation of the process of synchronization and mutual exclusion) between the two processes to achieve data communications. Specific communication data can be read from a file, the recipient can process the data received to write a new document in order to determine the accuracy of data (for file-speaking students are not familiar with reading and writing files may not have to go through, as long as keyboard input and output can be compared to the screen).
Date : 2025-12-19 Size : 3kb User : 一零

生产者消费者问题。使用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 problem
Date : 2025-12-19 Size : 1kb User : 孙雪春

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
Date : 2025-12-19 Size : 16kb User : 郭东东

创建无名管道,实现基于管道的进程间数据通信,掌握管道通信的方法及特征;并进一步理解互斥与同步的含义。-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 synchronization.
Date : 2025-12-19 Size : 5kb User : 万静媛

DL : 0
对于非对称性互斥问题有关概念的理解。观察和体验非对称性互斥问题的并发控制方法。了解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 mutually exclusive. Understanding of Linux system use IPC process synchronization tools, training, practical problem solving that type of programming, debugging and analyzing problems.
Date : 2025-12-19 Size : 3kb User : 于海

DL : 0
并发协作进程同步与互斥概念的理解,观察和体验并发进程同步与互斥操作的效果。-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.
Date : 2025-12-19 Size : 5kb User : 于海

演示了linux中的互斥锁机制,用gcc编译后运行-Demonstrates the mutual exclusion lock mechanism linux, compiled and run using gcc
Date : 2025-12-19 Size : 1kb User : your name

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 synchronization, mutual exclusion, using semaphore and P&V operations.
Date : 2025-12-19 Size : 6kb User : y

信号量(Semaphore)也被称为信号灯,常常作为在多线程环境下的同步与互斥机制。它负责协调各个线程,以保证它们能够正确、合理的使用公共资源。信号量分为单值和多值两种。单值信号量只能被一个线程获得,而多值信号量可以被若干个线程获得。 本实验是一个信号量实验,父进程作为生产者释放信号量,子进程作为消费者申请信号量。 实验环境 Redhat9.0-Semaphore (Semaphore), also known as signal lights, often in multi-threaded environment as synchronization and mutual exclusion mechanism. It is responsible for coordinating the various threads in order to ensure that they can correct and reasonable use of public resources. Semaphore is divided into two kinds of single and multiple values. Single-valued semaphore can only be one thread access, and multi-valued semaphore can be a number of threads available. This experiment is a signal of experiments, the release of the parent process semaphore as producers, as consumers apply for the child process semaphore. Redhat9.0 experimental environment
Date : 2025-12-19 Size : 1kb User : tiger

设计目的:通过研究Linux 的进程机制和信号量,实现生产者消费者问题的并发控制. 说明:有界缓冲区内设有20个存储单元,有界缓冲区可用数组实现,缓冲区中的内容自定。 设计要求:(1)每个生产者和消费者对有界缓冲区进行操作后,即时显示有界缓冲区的全部内容,当前指针位置和生产者/消费者进程标识符.(2)生产者和消费者至少各有两个以上.(3)多个生产者或多个消费者之间须有对缓冲区进行共享操作的函数代码(注意互斥与同步).-Design Objective: To study the mechanism and process of Linux semaphores to achieve producer-consumer problem of concurrency control. Description: bounded buffer storage units are equipped with 20, bounded buffer can be used to achieve the array, the contents of the buffer Custom. Design requirements: (1) Each producer and consumer of the bounded buffer operations immediately after the show the entire contents of a bounded buffer, the current pointer position and the producer/consumer process identifier (2) Producer and consumers have at least two or more (3) A number of producers or consumers should have to share operation of the buffer function of the code (note the mutual exclusion and synchronization).
Date : 2025-12-19 Size : 13kb User : 奋斗

DL : 0
按照生产者/消费者的工作原理,在Linux环境下,创建两个进程(或线程),一个进程(线程)作为生产者(用来向缓冲区中写入字符,字符的个数有限),另一个进程(线程)作为消费者(从缓冲区中读取生产者写入的字符)。 要求: 1. 程序应将缓冲区中的内容不断的显示出来; 2. 程序设计中要考虑两进程并发执行中的同步与互斥问题; 3. 有能力的同学可以将管理的并发进程数扩展为N(N>=3)多个。-In accordance with the producer/consumer works in a Linux environment, to create two processes (or threads), a process (thread) as a producer (used to buffer write characters limited number of characters)another process (thread) as a consumer (the producers to write the character read from the buffer). Requirements: A program the contents of the buffer should be continuously displayed Program design should consider the two processes concurrent execution, synchronization and mutual exclusion (3) the ability of students to the number of concurrent process management extended to N (N> = 3) multiple.
Date : 2025-12-19 Size : 348kb User : 庄镝

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
Date : 2025-12-19 Size : 1.84mb User : star

linux下的多线程例子,包含了俩个线程的创建和互斥.-under linux multithreading example, contains both thread creation and mutual exclusion.
Date : 2025-12-19 Size : 1kb User : zuoyong

DL : 0
Mutexes: blocking mutual exclusion locks for linux.
Date : 2025-12-19 Size : 4kb User : langupon

Linux Driver Read-Copy Update mechanism for mutual exclusion
Date : 2025-12-19 Size : 16kb User : ruibezo
« 12 3 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.