登录
首页 » 文件处理 » 模拟进程利用双向邮箱通信 随机生成一个邮箱,两个进程利用该邮箱相互通信,信息的大小与邮箱的大小相同。哪一个进程为发送进程,哪一个进程为接收进程是随机的,由随机函...

模拟进程利用双向邮箱通信 随机生成一个邮箱,两个进程利用该邮箱相互通信,信息的大小与邮箱的大小相同。哪一个进程为发送进程,哪一个进程为接收进程是随机的,由随机函...

于 2023-01-04 发布 文件大小:1.28 kB
0 134
下载积分: 2 下载次数: 1

代码说明:

模拟进程利用双向邮箱通信 随机生成一个邮箱,两个进程利用该邮箱相互通信,信息的大小与邮箱的大小相同。哪一个进程为发送进程,哪一个进程为接收进程是随机的,由随机函数随机选择。但是若一进程成为发送进程,那么另一个进程只能是接收进程。如果没有申请到资源,就不能建立邮箱,发送进程不能发送消息。如果邮箱中没有空闲单元,发送进程不能够发送消息;如果邮箱中没有消息,接收进程不能够接收消息。-modeling process using two-way communications mail generates a random mailbox, the two processes use of the mail to communicate with each other, information and the size of the same size mail. A process for which this process, a process for which the receiving process is random, random function randomly selected. However, if this process is to be a process, then another process can only be receiving process. If there is no application of resources, the building of mail, send process can send messages. If the mailbox no spare units, sending process can not send messages; If no news mail, the receiving process can not receive information.

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

发表评论

0 个回复

  • 深度学习讲座
    应用背景这是一个功率点描述神经网络的概念,它的重要性,并深入学习的概念。深度学习是人工智能的一个国家的最先进的技术来描述神经网络。它与学习无关。它有助于构建一个网络即多少隐藏层的数目需要多少数量的神经元在每一层都需要和应该适当的权重调整结构。关键技术人工智能,神经网络,隐层权值调整,训练神经网络学习
    2022-03-10 21:55:24下载
    积分:1
  • MASM
    这是一个读写磁盘文件的例子,其中“infile”为读文件,“wfile”为写文件。-masm
    2023-08-07 03:20:03下载
    积分:1
  • 文件操作、网络操作等公共函数,分享大家使用,这类不错
    文件操作、网络操作等公共函数,分享大家使用,这类不错-File operations, network operations and other public functions, to share the use, of such good
    2022-03-16 22:30:16下载
    积分:1
  • Find files on drives FAST using wildcards within search criteria. Easy and fully...
    Find files on drives FAST using wildcards within search criteria. Easy and fully customizable. Just drop the component on the form, give it a filename and a drive and you can search for it. 使用通配符查询文件- Find files on drives FAST using wildcards within search criteria. Easy and fully customizable. Just drop the component on the form, give it a filename and a drive and you can search for it. find files by wildcard
    2022-03-13 01:13:00下载
    积分:1
  • 文件格式转换的程序,可以将avi格式的短片转换为mpg格式。
    文件格式转换的程序,可以将avi格式的短片转换为mpg格式。-the program can translate avi to mpg
    2022-04-06 11:03:43下载
    积分:1
  • 自己写的一个直接操作win2000/xp下的磁盘的程序,可读写。
    自己写的一个直接操作win2000/xp下的磁盘的程序,可读写。-himself in a direct operation of the disk Win2000/xp the procedure can read and write.
    2022-09-09 21:30:04下载
    积分:1
  • VC资料,值得一读。 编程交流请E_mail Me:ghcyq@263.net
    VC资料,值得一读。 编程交流请E_mail Me:ghcyq@263.net-VC information, it is worth a read. Exchange program please reproduced Me : ghcyq@263.net
    2022-05-15 01:29:54下载
    积分:1
  • 复印纸的例子,复制进度条,必须提供一个大家参考。
    拷贝文件的例子,有拷贝进度条,提供大家一个参考。-Examples of copy paper, copy progress bar has to provide a reference everyone.
    2023-06-16 03:20:04下载
    积分:1
  • 使用 CPP 打字教程
    取得使用 cpp 的打字教程。它有 3 种模式即评价模式。培训模式和词模式。 你打字的速度和准确性,没有错的字显示类型和其他的分析。
    2023-07-31 20:40:03下载
    积分:1
  • 2022-04-12 15:59:17下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载