搜索资源列表
cw_pipe
- 提供进程间通过管道通信的例子,能显示当前进程的信息,如进程号、父进程号、用户号、组号、登录用户号。-provide inter-process communication channels through the examples that can show the current process of information, such as process, the father of the process, users, gro
ProcessList
- 能够列出当前系统运行的所有进程ID和父进程ID,并列出相应的句柄,本文件用WINRAR压缩,无密码,请放心使用,-system to a list of all running process ID and parent process ID, and lists the corresponding handle. the documents WINRAR compression, password, please rest assur
2006121111111
- 此程序在运行的时候,产生一个子进程.此子进程每隔1秒钟,向父进程发送一个SIGUSR1信号,父进程收到信号后,打印当前系统时间.当经过10秒钟后,子进程结束运行,并发送SIGUSR2信号,通知父进程 父进程收到SIGUSR2信号后,退出.-this program in running time, have a child process. This process for every one seconds, father proce
popeconnect
- 实现进程的管道通信。用系统调用pipe( )建立一管道,二个子进程P1和P2分别向管道各写一句话: Child 1 is sending a message! Child 2 is sending a message! 父进程从管道中读出二个来自子进程的信息并显示(要求先接收P1,后P2)。 -process of the realization of the communication channel. With
guandaotongxin
- 1、 了解系统调用pipe()的功能和实际原理 2、 编写一段程序,使用管道实现父子进程之间的通信 a) 使用系统调用fork()创建一个子进程 b) 子进程调用函数write()向父进程发送自己的进程ID和字符串” s sending a message to parent.\n”。 c) 父进程调用函数read()通过管道读出子进程发来的消息,将消息输出屏幕,然后终止 -1, the understanding
fork_textcanjian
- 1、 了解系统调用fork()、execl()、exit()、getpid()和waitpid()的功能和实现过程 2、 编写一段程序实现以下功能: a) 使用系统调用fork()创建两个子进程 b) 父进程重复显示字符串”parent:”,并使用函数getpid()显示自己的进程ID。 c) 两个子进程分别重复显示字符串”child:”,并使用函数getpid()显示自己的进程ID 3、 编写一段程序实现以下功能:
myCreatProcess
- 进程的创建 编写一段程序,使用系统调用fork()创建两个子进程。当此程序运行时,在系统中有一个父进程和两个子进程活动。让没一个进程在屏幕上显示一个字符:父进程显示字符“a”;子进程分别显示字符“b”和字符“c”。试观察记录屏幕上的显示结果,并分析原因。 -process for the preparation of the establishment of procedures, the use of system calls
parent12
- windows编程源代码-----获取父进程id-windows programming access to the source code----- parent process id
vcThreadSynchronization
- 在vc中利用父子间进程通信来实现的线程同步-use in vc process communication between father and son to achieve the synchronization thread
low_pipe
- linux环境利用管道进行通讯的例子,父进程fork派生子进程,父子进程利用管道通讯。-linux environment using pipes to communicate examples of parent process fork derived sub-process, father and son process communication using pipes.
idle
- 仿照书本创建进程的方法,在父进程中创建两个进程,然后根据实验要求更改,观察,理解进程的运行过程。-Create a process modeled on the books method, the parent process to create two processes, and then request to change the basis of experiment, observation and understanding
Ethernet
- 模拟Ethernet帧的发送过程 父进程创建两个子进程和一个共享内存 这个共享内存模拟介质总线 这个两个进程分别从这个内存发送信并进行冲突检测-Simulation of Ethernet fr a mes sent the course of the parent process of the creation of two sub-processes and a shared memory of the shared m
6
- 了解ipc通信中的信号。在lunix中编写一段c程序,创建两个子进程执行中让父进程捕获键盘上传来的中断信号(ctrl+c);当捕获到该信号,父进程向两个子进程发出一种信号,而子进程捕捉到父进程发来的信号-Learn ipc communication signal. In lunix prepared for some c procedures, the creation of two sub-process of the implem
dshell
- 本软件模拟Shell 的命令解释程序,了解如何创建子进程来执行一项专门的工作以及父进程如何继续子进程的工作。编写一个C语言程序作为Linux内核的Shell命令行解释程序,所执行的结果需和系统命令方式保持一致。基本运行方式为:当用户敲入命令行如:identifier[identifier[identifier]],Shell应该解析命令行参数指针数组argv[argc]。-The software simulation of the S
GetParentProcessLink
- 获得指定进程的父进程,有兴趣的可以参考下!-Access to the specified process, parent process, interested parties can refer to the next!
shell
- 实现Linux的进程管理。 a. 通过fork创建一个子进程。然后父子进程分别多次循环打印"parent"和"child", 同时打印出它们的pid,可以通过让进程睡眠一段时间来观看父子进程交叉执行的效果。 b. 通过fork创建子进程A, B。 A进程统计用户主目录下文件的个数并打印结果, B 进程列出用户主目录下的所有文件, 等待两个子进程都执行完毕时,父进程打印出后"child are completed!"信息后退出。
080618104650
- 简单管道通信,介绍了如何通过pipe实现父子进程间的通信-Simple pipeline communications, through the introduction pipe realize how the process of communication between father and son
process
- 编写一段源程序,应用系统调用fork()创建两个子进程,当此程序运行时,在系统中有一个父进程和两个子进程活动。让每一个进程在屏幕上显示一个字符:父进程显示字符“a” 子进程分别显示字符“b”和字符“c”。试观察纪录屏幕上的显示结果,并分析原因。fork()系统调用函数说明、参数值及定义 fork()函数功能: 创建一个新进程 int fork() 其中返回int取值意义如下: 0:创建子进程,从子进程返回的id值
myshell
- 应用UNIX的fork()等系统调用,编写一个c程序具有以下功能: a) 实现Shell的基本功能,包括有:打印提示符;接受和分析命令行(滤去无效的空格、tab符号以及换行符等);执行命令(要有出错处理;输入exit或者bye退出);返回父进程; b) 处理后台程序(不需要wait) c) 处理多行命令(分析命令行中的‘ ’并处理之) d)应用 dup(), pipe()系统调用具有输入输出重定向以及管道功能;-Application
ParentProcess
- 一个实例来介绍父子进程间如何共享内核对象。首先在父进程中创建一个事件对象,该事件对象能够被子进程继承,但是初始状态没有信号。然后父进程创建一个子进程,使子进程能够继承父进程中的内核对象句柄。在子进程初始化时创建一个线程,并立即运行线程函数。在线程函数中循环判断从父进程继承的事件对象是否有信号,如果有信号,将对话框标题设置为“事件有信号”,然后退出线程。由于父进程在创建事件对象时,使事件对象没有信号,因此,子进程中的对话框标题不会改变。为