登录
首页 » Linux Network » 用系统调用叉()来创建子进程。运行时,系统一。

用系统调用叉()来创建子进程。运行时,系统一。

于 2023-05-27 发布 文件大小:10.24 kB
0 176
下载积分: 2 下载次数: 1

代码说明:

使用系统调用fork()创建两个子进程。当此程序运行时,在系统中有一个父进程和两个子进程活动。让每一个进程在屏幕上现实一个字符:父进程显示字符’a’;子进程分别显示字符’b’和’c’。试观察记录屏幕上的显示结果并分析原因。-use system calls fork () to create two child process. When running, the system is a process and the father of two sub-process activities. Each process in a realistic one screen characters : the father of the process show the character "a"; Child showed the characters" b "and" c ". Let observation records on the screen to show the results and analysis of the reasons.

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

发表评论

0 个回复

  • linux内核进程检查工具。 linux内核进程检查工具。
    linux内核进程检查工具。 linux内核进程检查工具。 -linux kernel process inspection tool. linux kernel process inspection tool. linux kernel process inspection tool. linux kernel process inspection tool.
    2022-08-19 18:12:07下载
    积分:1
  • Net
    Net-Sky ChatServer不同于其他的用PHP,ASP,PERL等脚本语言编写的或其他任何CGI模式的聊天程式,本聊天室程序使用标准C语言开发,独立于任何第三方WEBSERVER而运行,快速,高效,稳定,大容量。程序的设计目标是能在一台普通的PC上同时容纳上万人聊天。经初步测试,完全达标:每个聊天室一道进程,占内存约700K,80人在线时占CPU约0.03% (Pll450)。程序启动即将所有模版一次性载入内存,最大限度减少硬盘的I/O操作(聊天过程没有任何硬盘I/O),最大限度提高性能。这不不并不意味着每次修改配置后要重新启动聊程式,系统提供专门的管理员命令来重载或修改配置,而不须停止或间断服务。(Only For Linux)-Net-Sky ChatServer different from the other with PHP, ASP, PERL scripting languages such as prepared by the CGI or any other mode of chat programs, the chat room using the standard C language development, independent of any third-party WEBSERVER and running fast, efficient, stable, large capacity. The design goal is that it can be an ordinary PC to accommodate 10,000 people chatting. After initial testing, fully standards : each process in a chat room, accounting for about 700K of memory, 80-CPU time for about 0.03% (Pll450). All the forthcoming commencement of proceedings templates included one-time memory, hard disk to minimize the I/O operations (Chat drives the p
    2022-09-20 13:50:03下载
    积分:1
  • Test something on LDAP.
    Test something on LDAP.
    2022-04-01 01:23:19下载
    积分:1
  • bohran C Linux Unix线程
    bohran c linux unix thread-bohran c linux unix thread
    2022-08-09 21:31:53下载
    积分:1
  • 2440的开发板,uda1380的驱动。类似于uda1341。
    2440的开发板,uda1380的驱动。类似于uda1341。-2440 development board, uda1380-driven. Uda1341 similar.
    2022-06-18 15:50:27下载
    积分:1
  • 这个sokcet库,可以直接使用VC不提供网络…
    这个sokcet库,可以直接使用;而且vc里面没有提供的inet_pton,inet_ntop函数,里面都加以实现;-This Sokcet library, can be used directly and vc which did not provide the inet_pton, inet_ntop function, which are to be achieved
    2022-07-12 05:34:38下载
    积分:1
  • linux下ppp的拨号程序
    linux下ppp的拨号程序-under the dial-up procedure
    2022-05-20 18:33:31下载
    积分:1
  • 网络编程必备的入门书籍,对各个方面的…
    linux网络编程必备的入门书籍,对各个方面的知识点都介绍的很详细,强烈推荐-linux network programming necessary introductory books on various aspects of the knowledge points are described in great detail, it is strongly recommended
    2022-02-20 17:56:50下载
    积分:1
  • socket5 代理服务代码
    socket5 代理服务代码 -socket5 proxy service code socket5 proxy service code
    2022-03-16 06:54:57下载
    积分:1
  • 如果是通过公司内部的HTTP PROXY上网而又被限制访问很多站点的话,这个软件也许对你有用...
    如果是通过公司内部的HTTP PROXY上网而又被限制访问很多站点的话,这个软件也许对你有用- If is accesses the net through company interior HTTP PROXY but is also limited visit very many stands, this software is perhaps useful to you
    2023-01-31 23:25:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载