搜索资源列表
共享内存封装类
- 这是一个在VC环境下实现的关于操作系统中共享内存的源代码。-This is a VC environment in the realization of shared memory operating system source code.
portable_shm.tar
- Linux共享内存share memory通信机制的内核实现,可以为内核线程间通信提供机制-Linux shared memory communication mechanism share memory kernel realized, kernel threads can provide the mechanism for communication
UsingOpenMP.pdf
- Using OpenMP. MIT press 2007. Portable Shared Memory Parallel Prog. Good book on OpenMP.
spec30
- This document specifies a collection of compiler directives, library routines, and environment variables that can be used to specify shared-memory parallelism in C, C++ and Fortran programs.
1
- 本次课程设计在本着加强课本知识运用能力的前提下,用PV操作来解决生产者消费者问题这个题目。该题目主要是解决操作系统中进程的同步与互斥的问题。 有界缓冲区内设有20个存储单元,放入/取出的数据项设定为1-20这20个整型数. (1)每个生产者和消费者对有界缓冲区进行操作后,即时显示有界缓冲区的全部内容,当前指针位置和生产者/消费者进程的标识符. (2)生产者和消费者各有两个以上. (3)多个生产者或多个消费者之间须有共享对缓冲区进行操作的函数代码. -The cur
multitask
- Vxworks简单的多任务 任务1和任务2共享内存 任务3打印共享的变量-Vxworks simple multi-task Task 1 and Task 2 Task 3 Print Sharing shared memory variables
shared-mem-with-semaphore
- shared-memory with semaphore-using a semaphore to synchronize access to a shared memory segment.
simdisk
- 拟文件系统的前端操作shell 实现一个简单的shell(命令行解释器)。 将设计一的管理程序simdisk作为后台进程运行,利用本设计任务的shell操作simdisk。 本设计任务在于学会如何实现在前端的shell进程和后端的simdisk进程之间利用共享内存进行进程间通信(IPC)。 -File system front-end operations intended to implement a simple shell shell (command line inter
asst4_1504985.tar
- Simulator for contiguous allocation, segments and shared memory
asst4-sharedmem.tar
- Simulator for shared memory on linux
productor_consumer
- 本程序综合采用V fork 、共享内存、信号量机制实现了2个生产者与2个消费者之间的进程同步。并完成了程序的准确性验证。同时,为了更加准确的测试程序的稳定性,设定了每个生产者和消费者在对缓冲区进行操作前都会等待一段随机的时间,并把缓冲区大小设置得相对较小。最后经过多次测试,程序结果均完全正确.-This procedure using a combination of V fork, shared memory, semaphores mechanism to achieve the proce
Gui-Chen_lab3.tar
- 操作系统实验,共享内存的实现,实现多进程共享同一个内存块。-Experimental operating system, shared memory, achieving multi-process share the same memory block.
Gui-Chen_lab4.tar
- 操作系统实验,在共享内存的基础上实现信号量。-Experimental operating system, the amount realized on the basis of the signal on the shared memory.
shared
- shared memory of os develop
LINUXOS
- 以Linux 系统进程和线程机制为背景,掌握fork()和clone()系统调用的形式和功能以及与其相适应的高级通讯方式。由fork派生的子进程之间通过pipe通讯,由clone创建的线程之间通过共享内存通讯,对于后者需要考虑互斥问题。-Linux systems to process and thread mechanism background, master fork () and clone () system call form and function as well as adva
mm
- 共享内存实验代码,该实验要求利用共享内存实现文件的打开和读写操作,基于linux平台。-Shared memory experimental code, the experiment requires the use of shared memory to achieve file opening and reading and writing operations, based on the Linux platform.
EOSApp
- 1)设计一程序,由一个进程创建三个子进程,三个子进程一个是生产者进程,两个是消费者进程。 2)父子进程都使用父进程创建的共享存储区进行通信,由生产者进程将一个数组中的十个数值发送到由5个缓冲区组成的共享内存中。? 3)两个消费者进程轮流接收并输出这十个数值,同时将两个消费者进程读出的数值进行累加求各和。 4)考虑生产者进程生产的速度和消费者进程速度。(1) a program is designed to create three sub processes from one proc