搜索资源列表
操作系统试验报告
- 试验目的:通过研究Linux的线程机制和信号量实现生产者消费者问题的并发控制 说明:有界缓冲区内设有20个存储单元,放入/取出的数据项设定为1~20这20个整型数。 要求: (1)每个生产者和消费者对有界缓冲区进行操作后,即时显示有界缓冲区的全部内容.当前指针位置和生产者/消费者线程的标识符 (2)生产者和消费者各有两个以上 (3)多个生产者或多个消费者之间须共享对缓冲区进行操作的函数代码。-Test Objective : To study the Linux threading mechan
用多进程同步方法解决生产者-消费者问题
- 设计目的:通过研究Linux 的进程机制和信号量实现生产者消费者问题的并发控制. 说明:有界缓冲区内设有20个存储单元,放入/取出的数据项设定为1-20这20个整型数. 设计要求:(1)每个生产者和消费者对有界缓冲区进行操作后,即时显示有界缓冲区的全部内容,当前指针位置和生产者/消费者线程的标识符.(2)生产者和消费者各有两个以上.(3)多个生产者或多个消费者之间须有共享对缓冲区进行操作的函数代码. 提示:(1) 有界缓冲区可用数组实现.
videoserver.rar
- 流媒体服务器端源码,可以很好地了解流媒体服务器的结构,并对linux编程中信号量的理解有很大好处,The source code of Streaming server. You can unsderstand streaming server well through it.
12_shm
- Linux 下进程间通信实例之一——共享内存 使用了信号量用于进程间的同步-Linux, one example of inter-process communication- shared memory semaphore used for synchronization between processes
com_test
- linux/unix下使用unix域套接字通信与使用共享内存+信号量通信方式的用时测试比较代码。-linux/unix use unix domain socket communication and the use of shared memory+ semaphore method of communication when the test code.
UNIX_Version_1
- 本文档是Uinx环境下的高级编程的中文版,此电子书详细介绍了Unix系统下的程序编写,系统函数调用的API接口,包括文件系统,设备驱动,任务间的通讯机制,管道,信号量消息队列等等。对学习Linux,VxWorks等类Unix嵌入式系统编程有很好的指导作用。-This document is Uinx high-level programming environment, the Chinese version, this book details the programming under Un
ProducerandConsumerProblem
- 用多进程同步方法解决生产者-消费者问题 设计目的:通过研究Linux 的进程机制和信号量实现生产者消费者问题的并发控制. 说明:有界缓冲区内设有20个存储单元,放入/取出的数据项设定为1-20这20个整型数. 设计要求:(1)每个生产者和消费者对有界缓冲区进行操作后,即时显示有界缓冲区的全部内容,当前指针位置和生产者/消费者县城的标识符.(2)生产者和消费者各有两个以上.(3)多个生产者或多个消费者之间须有共享对缓冲区进行操作的函数代码.-Synchronous multi-process so
procon
- 试验目的:通过研究Linux的线程机制和信号量实现生产者消费者问题的并发控制,windows环境下运行-Test Objective: To study the mechanisms and thread Linux Semaphore producers to achieve concurrency control on consumer issues, windows environment running
sem
- 信号量的基本操作是我在学习linux编程时写的-Semaphore s basic operation is my linux programming in learning to write the
keyboard
- linux2.4内核 s3c2410开发板 非常标准的的4*4键盘程序 采用了信号量、中断、FIFO等技巧 对linux下中断的理解非常有好处-s3c2410 linux2.4 keyboard
Assignment8
- 实现对信号量的模拟。Linux系统 用C实现-simulate semophore
zhexue
- 通过研究Linux的线程机制和信号量实现哲学家就餐问题的并发控制-By studying the Linux thread and semaphore mechanisms to achieve dining philosophers problem of concurrency control
ProducersAndCustomers
- 通过研究Linux的线程机制和信号量实现生产者消费者(Bounded Buffer)问题的并发控制。 通过n个缓冲区组成缓冲池共同完成“生产和消费”任务,每个缓冲区存放一个产品,生产者将生产出的产品放入空缓冲区;消费者从满缓冲区中取出产品。一旦所有缓冲区均满时,生产者必须等待消费者提供空缓冲区。另外,对所有生产者和消费者线程来说,缓冲池是临界资源,即任何一个线程在对某个缓冲区进行“存”和“取”操作时须和其他线程互斥执行。 -By studying the Linux thread and
ProducerConsumerProblem
- 操作系统实验:用信号量解决producer & consumer问题。 包括: WIN ProCon(1).cpp WIN ProCon(2).cpp LINUX ProCon.c-Operating System Experiment: Using Semaphores solve the producer & consumer issues. Include: WIN ProCon (1). Cpp WIN ProCon (2). Cpp LINUX ProCon.c
filesystem
- 一个linux环境下的模拟文件系统的程序,里面有使用说明,能够创建,删除,复制文件,用到了linux共享内存和信号量,另外有个shell程序进程与文件系统程序进行通信。-A linux file system environment, the simulation program, which has instructions for use, the ability to create, delete, copy files, use a linux shared memory and sem
sem.tar
- Linux下信号量编程,封装好了接口,可以方便使用-Semaphore programming under Linux, the interface wrapper, you can easily use
11
- Linux 下进程间通信实例之一——信号量 使用信号量控制父子进程的输出顺序-Linux, one example of inter-process communication- use semaphore semaphore control the output of the process of the order of father and son
socket
- 能让我们对linux的系统和socket有一个叫深入的了解,且对网络服务器的架构有一定了解,通过实践,使我们知道在网络编程过程中所需要注意的一系列问题(如并行程序设计的问题)。当然,本次大作业还能使我们对“进程间通信”,“进程同步”和“信号量”等操作系统的知识进行巩固,从而服务于本次大作业。-Make our linux system and the socket are called in-depth understanding of the network server architectu
semop
- 在linux环境下关于信号量的代码,semop-On the semaphore code, in the linux environment
bingFa
- 在linux环境下,使用多线程和信号量机制实现经典的读者写者问题-In the linux environment, using multiple threads and semaphore mechanism to bring readers to write the problem of classic