搜索资源列表
fifo_write_read
- 包含两个程序,一个用于读管道,一个用于写管道.主要是练习有名管道的使用方法.-contains two procedures, a pipeline used for reading, writing for a pipeline. Main pipeline is a well-known practice of use.
guandaotongxin
- 1、 了解系统调用pipe()的功能和实际原理 2、 编写一段程序,使用管道实现父子进程之间的通信 a) 使用系统调用fork()创建一个子进程 b) 子进程调用函数write()向父进程发送自己的进程ID和字符串” s sending a message to parent.\\n”。 c) 父进程调用函数read()通过管道读出子进程发来的消息,将消息输出屏幕,然后终止 -1, the understanding of the system call pipe () fu
minshell
- 一个简单的shell,可以实现管道,重定向,cd,后台,ls等功能-a simple shell, can achieve a pipeline, redirects, cd, background, and other functions ls
liunx_shellprogram
- 1. 编写一个C程序作为Linux内核的shell命令行解释程序。Shell程序应该使用与Bource shell相同的方式运行程序。 2. 增加功能以使用户可以使用\"&\"操作符作为命令的结束符。一个以\"&\"结尾的命令应该与shell并发执行。 3. 增加功能以使用户可以使用\"<\"和\">\"作为文件名前缀来重定向stdin和stdout描述符。同样,允许用户使用管道操作符\" \"来同时执行两个进程,并把第一个进程的stdout重定向为第二个进程的stdin。-1. P
MyShell.rar
- 一个shell程序可以实现管道,重定向,cd,后台,ls等功能,a simple shell, can achieve a pipeline, redirects, cd, background, and other functions ls
linux_IPC
- linux 的进程通信的3种方式 共享内存 消息队列 管道方式实现的实例。有注释!-linux process of three kinds of ways to communicate a shared memory message queue pipeline approach to achieve a simple example.
shell1
- 用C语言写的一个shell,history和ls是自己写的,其他运用了系统调用,并且可以进行后台处理以及管道的功能。-Written in C language using a shell, history, and ls write your own, the other using the system call, and can be background processing and pipeline features.
pipecommunication
- 给出一个应用双向管道进行不同进程间进行通信的实例。-An application is given a two-way pipeline for communication between different process instances.
double_pipe
- 这是一个linux下的双管道,可以实现linux下管道通讯-This is a dual pipeline under linux, linux can be achieved under the pipeline communications
shell.tar
- 一个linux下的简单shell程序,支持多级管道和输入输出重定向,支持多进程,经测试,运行稳定-Linux under a simple shell procedures, to support the multi-stage pipeline and the input and output redirected to support the multi-process, tested, stable operation
LinuxShell
- 大学操作系统课程实验:Linux下实现的一个shell解释器。能够比较完整完好地执行Linux下的普通命令、重定向命令、管道命令等多种命令。-Experimental University of the operating system: Linux under a shell interpreter. Good to be able to complete the implementation of Linux under the general command, redirect comma
pipe
- 该程序先使用pipe()函数创建一个临时通信管道,然后使用fork()创建两个子进程,使用write()函数向管道两次写入”I’m parent process。”的信息,两个子进程使用read()函数从管道中获取信息并输出,然后两个子进程分别向管道写入”I’m child process a”和”I’m child process b”信息,由父进程从管道中读出并显示。在使用write()函数前,需要先使用lockf()函数锁住管道,写完信息后再解锁管道。-The program first
myshell
- 自己动手写的shell,实现管道,重定向,前后台,多条命令,但格式必须如 ls ps touch new.c,符号前必须有空格-Yourself to write shell, implementation pipeline, redirection, after Taiwan, a number of commands, but the format must be such as ls ps touch new.c, symbols have a space before
cfz
- 【设计题目】Linux二级文件系统设计【开发语言及实现平台或实验环境】C++/VC++【设计要求】理解Linux的文件系统的组织;掌握常用的数据结构;系统采用两级目录,其中第一级对应于用户账号,第二级对应于用户帐号下的文件 使用文件来模拟外存,进行数据结构设计和操作算法的设计,实现一个文件系统并实现基本的文件操作(为了简便文件系统,不考虑文件共享,文件系统安全以及管道文件与设备文件等特殊内容)。要求:1、对程序的每一部分要有详细的设计分析说明 2、程序执行的每个步骤要有具体的提示内容或输出3、源
source
- 自己编写的atoi函数,字符串倒序,线程创建和管道创建,已经测试过了,没什么问题,希望对大家有点帮助!-I have written atoi function, string reverse, thread creation and pipeline creation, has been tested, no problem, we want a little help!
change
- 使用系统调用pipe()建立一条管道,系统调用fork()分别创建两个子进程,它们分别向管道写一句话,如: Child process1 is sending a message! Child process2 is sending a message! 父进程分别从管道读出来自两个子进程的信息,显示在屏幕上。两个子进程并发执行。 实现管道的互斥使用。当一个子进程正在对管道进行写操作时,另一个欲写入管道的子进程必须等待。 使用系统调用lockf(fd[1],1,0)实
ProcessManagementchannel
- 使用系统调用pipe()建立一条管道,系统调用fork()分别创建两个子进程,它们分别向管道写一句话,如: Child process1 is sending a message! Child process2 is sending a message! 父进程分别从管道读出来自两个子进程的信息,显示在屏幕上。两个子进程并发执行。 实现管道的互斥使用。当一个子进程正在对管道进行写操作时,另一个欲写入管道的子进程必须等待。 使用系统调用lockf(fd[1],1,0)实现对管道
shells2
- MyShell—可运行与linux系统下的简单shell。包含:处理指令、管道、重定向功能。主要开发语言为C-MyShell-linux systems can be run with a simple shell. Include: processing instructions, pipeline, redirection. The main development language is C
pipe
- 这是一篇关于linux中的管道的文章,详细介绍了管道的工作原理,非常有参考价值-This is an article on the pipeline linux article, detailing the working principle of the pipeline, a very valuable reference
pipeline
- Note: TODO(turbofan) implies a performance improvement opportunity, and TODO(name) implies an incomplete implementation.