登录
首页 » c » OS实验报告以及源码

OS实验报告以及源码

于 2022-11-13 发布 文件大小:128.24 kB
0 171
下载积分: 2 下载次数: 1

代码说明:

父进程使用系统调用pipe( )建立一个管道,然后使用系统调用fork()创建两个子进程,子进程1和子进程2,父进程用系统调用signal()捕捉来自键盘的中断信号。当捕捉到中断信号后,父进程用系统调用Kill()向两个子进程发出信号,子进程捕捉到信号后分别输出下列信息后终止:      Child Process l is Killed by Parent!      Child Process 2 is Killed by Parent! 父进程等待两个子进程终止后,释放管道并输出如下的信息后终止    Parent Process is Killed!

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • PLAYA
    说明:  MPEG4播放器PLAYA的VC源代码,该代码发布遵循GNU协议(VC source code of MPEG4 player PLAYA, the code release follows GNU agreement ,)
    2020-04-14 11:33:50下载
    积分:1
  • ns2-extension
    介绍如何对NS2进行多信道多接口扩展,并支持动态信道分配。(NS2 introduce how to carry out the expansion of multi-channel multi-interface, and supports dynamic channel allocation.)
    2009-03-12 20:28:24下载
    积分:1
  • Shield
    通过蒙特卡洛方法计算物体对粒子的屏蔽效果(to calculate the shielding by the monte carlo method if you have any question , please to connect me)
    2018-12-29 17:50:26下载
    积分:1
  • Moravec
    说明:  在VC中实现了使用Moravec算子对遥感影像进行特征点的提取,缺点是速度较慢。不过提取效果不错!(Implemented in VC using Moravec operator of remote sensing images feature point extraction, the disadvantage is slow. However, extracting good results!)
    2011-03-30 20:47:21下载
    积分:1
  • android开发入门
    android应用开发很好的入门资料,非常适合初学者。(An excellent introduction to android application development)
    2019-02-17 15:11:49下载
    积分:1
  • 各种sql内置函数用法
    最近整理的各种sql内置函数用法,直接打开可用,注释齐全。
    2022-03-02 02:12:34下载
    积分:1
  • stm8l151寄存器例程 UART
    stm8l151寄存器例程,UART发送字符串,简单用于学习STM8L寄存器(stm8l151 register routines, UART transmit string, simply register for learning STM8L)
    2014-11-26 15:25:44下载
    积分:1
  • LED
    说明:  STM8S003F3P6单片机LED例程(Stm8s003f3p6 single chip LED routine.)
    2020-05-21 09:38:42下载
    积分:1
  • 3D Programming For Windows 代码
    说明:  WPF 三维编程代码示例.适合于WPF编程的初学者。(WPF 3D programming code example)
    2020-08-18 14:32:13下载
    积分:1
  • sensing_slot2
    Writing C + + code, is to allow the use ns2 select the channel, which is our experimental multichannel implementation, hoping to share.
    2014-01-03 11:06:50下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载