搜索资源列表
threadlibrary
- I use C to implement thread operating,include initiallize,fork,yield,exit,kill. You should have driver to use this library. I choose array for ready queue,and strcut for Thread Control Block.
signal to killchild
- 用系统调用signal()让父进程捕捉键盘上来的中断信号(按Ctrl-C键);当捕捉到中断信号后,父进程用系统调用kill()向两个子进程发出信号,子进程捕捉到信号后分别输出下列信息后终止: Child Process 1 is Killed by Parent! Child Process 2 is Killed by Parent! 父进程等待两个子进程终止后,输出如下的信息后终止: Parent Process is Killed!-with system call signal ()
process
- 在Linux下的C文件创建进程,查看进程,换出进程,杀死进程-C under the Linux file creation process, view the process of changing out the process, kill the process,
fork
- 使用C语言实现进程间的控制。并使用KILL命令杀死对应进程-use c to fork