Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - mutual exclusion
Search - mutual exclusion - List
以生产者/消费者模型为依据,在Windows 2000环境下创建一个控制台进程,在该进程中创建n个线程模拟生产者和消费者,实现进程(线程)的同步与互斥。-to producer / consumer model as the basis, in Windows 2000 to create an environment console process, in the process of creating n threads simulation producers and consumers and achieve process (thread) synchronization and mutual exclusion.
Date : 2008-10-13 Size : 3.06kb User : 飞翔

以生产者/消费者模型为依据,在Windows 2000环境下创建一个控制台进程,在该进程中创建n个线程模拟生产者和消费者,实现进程(线程)的同步与互斥。-to producer/consumer model as the basis, in Windows 2000 to create an environment console process, in the process of creating n threads simulation producers and consumers and achieve process (thread) synchronization and mutual exclusion.
Date : 2025-12-19 Size : 3kb User : 飞翔

信号量也称为信号锁,主要应用于进程间的同步和互斥,在用于互斥时,通常作为资源锁。信号量通常通过两个原子操作wait(P)和signal(V)来访问。wait操作使信号量的值+1,signal操作使信号量的值-1。本程序修改wait操作,使之能一次申请多个信号量-Semaphore is also known as signal lock, mainly used in inter-process synchronization and mutual exclusion, are used in mutually exclusive, it is usually as a resource lock. Semaphore usually through two atomic operations wait (P) and signal (V) to access. semaphore wait operation so that the value of+ 1, signal operation of the signal value of the volume of-1. The procedure to amend wait operation, so that it can apply more than one semaphore
Date : 2025-12-19 Size : 8kb User : 龙海

电梯调度程序,支持电梯与电梯之间的同步与互斥-Elevator scheduler to support the elevator and the elevator synchronization and mutual exclusion between
Date : 2025-12-19 Size : 260kb User : 赵南

以生产者/消费者模型为依据,在Windows 2000环境下创建一个控制台进程,在该进程中创建n个线程模拟生产者和消费者,实现进程(线程)的同步与互斥。-To the producer/consumer model as the basis, in the Windows 2000 environment to create a console process, in the process to create a thread simulation n producers and consumers to realize the process (thread) synchronization and mutual exclusion.
Date : 2025-12-19 Size : 8kb User : 曹雅丽

一个操作系统的试验,实现了两进程的同步和互斥,还有试验报告哦。-An operating system of the test, the realization of a two-process synchronization and mutual exclusion, as well as test report Oh.
Date : 2025-12-19 Size : 54kb User :

You are asked to design and implement a simulator for university life where lecturers provide lectures (credits) and students attend lectures (credits) to graduate. This simulator uses a bounded circular buffer shared by lecturers and students. Lecturers are concurrently providing lecturers and placing their lecturers in JCU (shared buffer) and students are concurrently taking lectures from JCU to graduate. The purpose of this assignment is to give you some "hands-on" experience with concurrent processes, semaphores, and shared memory. You need to use the modules you practiced in week 6 and 8 labs (Prac 5 and Prac 6). You need semaphores for mutual exclusion and synchronization (studied in week 6 prac) and a shared buffer for shared memory IPC (studied in week 8 prac).
Date : 2025-12-19 Size : 1.92mb User : xiaoxiao

操作系统课程设计,关于消费者与生产者的同步互斥问题的程序源代码。-Courses on operating system design, on consumers and producers mutual exclusion synchronization program source code.
Date : 2025-12-19 Size : 1.85mb User : wyw

操作系统课程设计,关于消费者与生产者的同步互斥问题的程序源代码。-Courses on operating system design, on consumers and producers mutual exclusion synchronization program source code.
Date : 2025-12-19 Size : 5.1mb User : wyw

操作系统课程设计,关于消费者与生产者的同步互斥问题的程序源代码。-Courses on operating system design, on consumers and producers mutual exclusion synchronization program source code.
Date : 2025-12-19 Size : 13.18mb User : wyw

操作系统课程设计,关于消费者与生产者的同步互斥问题的程序源代码及文档(转发)。-Courses on operating system design, consumers and producers on mutual exclusion synchronization program source code and documentation (Forward).
Date : 2025-12-19 Size : 44kb User : wyw

利用windows提供的mfc 编写的读者写者的同步互斥问题问题-Mfc windows provide written by readers who write the synchronization problem of Mutual Exclusion
Date : 2025-12-19 Size : 2kb User : 谢天仇

通过创建线程实现生产者、消费者对缓冲区进行互斥操作。 用信号量机制解决进程(线程)的同步与互斥问题。 缓冲区大小为31,缓冲区满则不允许生产者生产数据,缓冲区空则不允许消费者消费数据。 程序一直运行下去,直到敲击回车停止。-Achieved by creating a thread producers, consumers mutually exclusive operation of the buffer. Settlement process with the semaphore mechanism (thread) synchronization and mutual exclusion issues. Buffer size is 31, the buffer is full, do not allow producers to production data, the buffer space is not allowed consumer spending data. Program has been run down, until hit Enter to stop.
Date : 2025-12-19 Size : 251kb User : moondancing

是一个在windows下实现消费者生产者进程互斥的实验-Is a producer in the windows of consumers to achieve mutual exclusion experiment
Date : 2025-12-19 Size : 232kb User : QiJun

1)进程的创建: 编写一段程序,使用系统调用fork() 创建两个子进程。当此程序运行时,在系统中有一个父进程和两个子进程活动。让每一个进程在屏幕上显示一个字符:父进程显示字符“a”,子进程分别显示字符“b”和“c”。试观察记录屏幕上的显示结果,并分析原因。 (2)进程的控制 修改已经编写的程序,将每个进程输出一个字符改为每个进程输出一句话,再观察程序执行时屏幕上出现的现象,并分析原因。 如果在程序中使用系统调用lockf () 来给每一个进程加锁,可以实现进程之间的互斥,观察并分析出现的现象。 (3) a) 编写一段程序,使其实现进程的软中断通信。 要求:使用系统调用fork() 创建两个子进程,再用系统调用signal() 让父进程捕捉键盘上来的中断信号(即按DEL键);当捕捉到中断信号后,父进程用系统调用Kill() 向两个子进程发出信号,子进程捕捉到信号后分别输出下列信息后终止: -1) The process of creation: write a program using the system call fork () to create two sub-processes. When this program runs, the system has a parent and two child activities. Let each process a character on the screen: the parent shows the character "a", the child characters are shown "b" and "c". Test observations display the results on the screen, and analyze the reasons. (2) process control changes have been prepared by the procedure to output a character to each process for each process output word, and then observe the program execution when the phenomenon appears on the screen, and analyze the reasons. If the program using system calls lockf () to lock to each process, you can achieve mutual exclusion between processes to observe and analyze phenomena. (3) a) write a program to attain the soft interrupt the process of communication. Requirements: to use the system call fork () to create two sub-processes, then the system call signal () to parent up to capture the keyboard inter
Date : 2025-12-19 Size : 111kb User : sky

临界区互斥问题!!Critical section mutual exclusion problem-Critical section mutex problem! ! Critical section mutual exclusion problem
Date : 2025-12-19 Size : 20kb User : 孙鹏

使用内存映射文件实现多个程序间互斥运行,VC++编程精选学习源码,很好的参考资料。-Use memory mapped file to achieve mutual exclusion between multiple programs running, select learning VC++ programming source code, a good reference.
Date : 2025-12-19 Size : 208kb User : 什锦豆腐

OpenMP,OpenMp提供了对并行算法的高层的抽象描述,程序员通过在源代码中加入专用的pragma来指明自己的意图,由此编译器可以自动将程序进行并行化,并在必要之处加入同步互斥以及通信-OpenMP OpenMP provides the parallel algorithm of the high-level abstract description of the programmer by in source code to join special pragma to indicate their intentions, so the compiler can automatically program parallelization, and to join the mutual exclusion synchronization and communication if necessary
Date : 2025-12-19 Size : 2.86mb User : CQ
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.