搜索资源列表
PPIDs_1.2
- PPIDs 用于列举进程的父PID和子PID PPIDs v 1.2 [2013/03/18] http://bbs.bathome.net 用法: PPIDs.exe [/NUM] [/p|/c] [/r] [/i] [/e] [/n] [PName|[PID] [PID] ...] 模式: /NUM 向上追溯曾曾曾...曾祖父辈进程的PID /p 获取直系父进程PID (默认) 返回: 父进程PI
test
- 创建两个子进程,分别计算1~5000和5000~1W的素数 通过信号,用父进程专门完成数的保存.同时开启一个进程读文件, * 并讲数据输出到屏幕(保证不被其它信号干扰) -Create two sub-processes, respectively, calculated 1 ~ 5000 and 5000 ~ 1W the prime number of the parent process through the sig
ChildProcess
- 《进程通信之三 父进程传参数与子进程返回值》 程序带博客文章说明,值得一看。对应博客文章 http://blog.csdn.net/morewindows/article/details/8683830-" The process of communication of the parent process pass parameters with the child returns the value of the p
process-management
- 编写程序,通过fork生成父子进程,子进程运行中显示当前系统的记录时钟,父进程运行时完成将数字1~100循环显示到标准输出流上。多次运行该程序,观察输出内容的变化。然后修改程序使得: (1)始终为子进程先输出。 (2)始终为父进程先输出。 -Programming, parent and child processes generated via fork, the child process running clock
fork
- 模拟多进程机制,用fork()开启子进程,模拟父进程与子进程的关系-Analog multi-process mechanism, with the fork () on the child process, the parent process and the child process simulation relations
MUltiProcess
- Linux下多进程的代码实现,修改了system函数,自己实现了一个执行函数,以便获得子进程ID,在父进程结束时把所有子进程也结束掉-Linux code under the multi-process, modify the system function of their execution to achieve a function, in order to obtain the child process ID, the par
program
- 编写一段程序,同时父进程创建两个子进程p1和p2;并使子进程p1与子进程p2通过共享存储区相互发送数据(512字节)。 (1)掌握系统调用shmget()、shmat()、shmdt()、shmctl()的使用方法及其功能,理解共享存储区通信原理; (2)系统理解linux 的三种通信机制。 -Write a program, while the parent process creates two child pr
lab4_5_Fibonacci
- fibonacci数列进程实现。用子进程计算并用父进程输出-fibonacci sequence process implementation. Calculated and used by the child process the parent process output
IPC_3
- linux下父进程创建两个子进程互相通信的测试程序-linux under the parent process creates two child processes communicate with each other test procedures
pipe
- 压缩包中包含两个文件pipe3.c和pipe4.c,其中在pipe3.c打开一个无名管道,然后使用fork创建一个子进程,在父进程中进行管道写操作;pipe4.c是管道读操作的文件。-Compressed package contains two files pipe3.c and pipe4.c, which opened in pipe3.c an unnamed pipes, and then use the fork to cr
tc1234
- 父进程循环fork四个子进程并且用信号量控制其循环打印1234可扩展打印4123或2341-Parent process cycle fork four sub-process and use semaphores to control its circulation print 1234 print 4123 or 2341 can be extended
qq
- 利用管道技术实现父子进程间通信,具体流程:父进程以3秒为周期接收用户输入并发送到子进程,子进程接收到信息后显示并回传,父进程接收到回传信息后显示。父子进程在通信过程中采用信号中断处理方式进行处理,接收到“exit”字符串后父子进程均退出。(提示,采用SIGUSR1或SIGUSR2信号)-The use of pipeline technology communication between parent and child, the s
process
- 实现进程间的通信,通信方式为共享内存和消息传递。本程序建立的是win32项目,p1为父进程,p2为子进程.-the program implements the communication between two processes.the way to communicate are shared memory and message.The code can run in win32 applocation.p1 is the pa
the-message-communication-principles
- 【实验内容】 编写一段程序,同时父进程创建两个子进程p1和p2;并使子进程p1与子进程p2通过消息队列相互发送消息(512字节)。 【实验目的】 系统了解linux系统的通信机构IPC ,掌握IPC中消息通信机制,理解消息通信的方法及特征。 【实验要求】 (1)掌握系统调用msgget()、msgsnd()、msgrev()、msgctl()的使用方法及其功能,理解消息通信原理; (2)系统理解linux
Process-Management
- 编写程序,要求父进程创建一个子进程,子进程对一个50*50的字符数组赋值,由父进程改变子进程的优先级,观察不同优先级进程使用CPU的时间-Written procedures that require the parent process creates a child process, the child process on a 50* 50 array of characters assigned by the parent pr
create-process
- 创建两个进程,让子进程读取一个文件,父进程等待子进程读取完文件后继续执行,实现进程协同工作。 进程协同工作就是协调好两个进程,使之安排好先后次序并以此执行,可以用等待函数来实现这一点。当需要等待子进程运行结束时,可在父进程中调用等待函数。 -Create two processes, allowing the child to read a file, read the parent process waits for the
test2
- Linux软中断通信。 由父进程创建两个子进程,通过终端输入Crtl+\组合键向父进程发送SIGQUIT软中断信号或由系统时钟产生SIGALRM软中断信号发送给父进程;父进程接受到这两个软中断的其中某一个后,向其两个子进程分别发送整数值为16和17软中断信号,子进程获得对应软中断信号后,终止运行;父进程调用wait()函数等待两个子进程终止,然后自我终止。-Linux software interrupt communication
pipe_test
- 使用系统调用pipe( )建立一个管道;然后分别创建2个子进程,要求2个子进程分别向管道各写一句话:“Child 1 is sending a message!” 和 “Child 2 is sending a message!” 最后,父进程从管道中读出二个来自子进程的信息并显示。-Use the system call pipe () to create a pipeline then create two sub-process
get-father-process-name
- 在应用程序中调用内核函数获取父进程的全路径名的最好方法。在辨识由谁启动的时候要用。-关闭翻译英语中文德语检测语言 中文(简体)英语日语 翻译文字或网页 在应用程序中调用内核函数获取父进程的全路径名的最好方法。在辨识由谁启动的时候要用。 请键入文字或网站地址,或者上传文档。 取消 Zài yìngyòng chéngxù zhōng tiáo yòng nèihé hánshù huòqǔ fù jìnché
pipe3
- linux进程间的通讯,利用3管道实现父进程与子进程间的双向通讯,并实现某一组函数的功能-linux inter-process communication, two-way communication using three pipelines parent process and the child process between function and to achieve a set of functions