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

OS实验报告以及源码

于 2022-11-13 发布 文件大小:128.24 kB
0 175
下载积分: 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 个回复

  • Substation-Design
    220KV/110KV/10KV变电站设计(Substation Design)
    2014-04-29 11:08:31下载
    积分:1
  • telephone(c).doc
    电话号码管理系统 C实现电话号码管理系统 C实现电话号码管理系统 C实现(TELEPHONE)
    2020-11-21 21:29:37下载
    积分:1
  • Patch-WinLicense-hwid
    Patch WinLicense hwid ~
    2015-02-19 01:17:15下载
    积分:1
  • AR8236
    AR8236是一种提供低功耗的快速以太网交换机解决方案。(The AR8236 is a fast Ethernet switch solution that offers low power)
    2020-10-26 17:39:59下载
    积分:1
  • 3pcf
    windows下多线程计算3pcf问题的源码 直接编译运行即可 从文件中读取数据(Under the multi-threaded computing 3pcf windows source code directly compile and run the problem can be read from the file)
    2011-04-26 21:38:13下载
    积分:1
  • submissionofassignmentapriorialgorithmimplementat
    APRIORI ALGORITHM IMPLEMENTATION
    2012-01-11 14:58:40下载
    积分:1
  • mpi_array
    这个程序演示了一个简单的数据分解。主任务首先初始化数组,然后分配相等的部分该数组的其他任务。后的其他任务接收其阵列的一部分,它们执行加法运算,以每个数组元素。(This program demonstrates a simple data decomposition. The master task first initializes an array and then distributes an equal portion that array to the other tasks. After the other tasks receive their portion of the array, they perform an addition operation to each array element.)
    2015-08-14 09:48:15下载
    积分:1
  • dotnet书C
    Dotnet book for c Sharp Dotnet book for c Sharp Dotnet book for c Sharp-Dotnet book for c Sharp Dotnet book for c Sharp Dotnet book for c Sharp Dotnet book for c Sharp
    2022-03-18 16:04:47下载
    积分:1
  • xiaobo
    结合维纳滤波的小波降噪方法,滤波效果很好(Combination of Wiener filtering of wavelet noise reduction method, filter works well)
    2009-10-24 13:59:40下载
    积分:1
  • rtcm
    初始化RTCM控制,并且把文件或者串口数据转输出成RTCM格式(RTCM control initialization, and the output files or serial data transfer format to RTCM)
    2016-05-26 08:26:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载